Advertisement
bakhridinova

Untitled

May 19th, 2024 (edited)
1,259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.37 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3.         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5.     <modelVersion>4.0.0</modelVersion>
  6.  
  7.     <groupId>biz.svyatoslav.learning.bigdata.elasticsearch</groupId>
  8.     <artifactId>simple_app</artifactId>
  9.     <version>1.0-SNAPSHOT</version>
  10.  
  11.     <properties>
  12.         <maven.compiler.source>11</maven.compiler.source>
  13.         <maven.compiler.target>11</maven.compiler.target>
  14.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15.         <scala.version>2.12</scala.version>
  16.         <spark.version>3.1.2</spark.version> <!-- Use the version of Spark you are working with -->
  17.         <elasticsearch.hadoop.version>7.16.1</elasticsearch.hadoop.version> <!-- Use the version compatible with your Elasticsearch -->
  18.     </properties>
  19.  
  20.     <dependencies>
  21.         <dependency>
  22.             <groupId>org.apache.spark</groupId>
  23.             <artifactId>spark-core_${scala.version}</artifactId>
  24.             <version>${spark.version}</version>
  25.         </dependency>
  26.  
  27.         <dependency>
  28.             <groupId>org.apache.spark</groupId>
  29.             <artifactId>spark-sql_${scala.version}</artifactId>
  30.             <version>${spark.version}</version>
  31.         </dependency>
  32.  
  33.         <dependency>
  34.             <groupId>org.apache.spark</groupId>
  35.             <artifactId>spark-sql-kafka-0-10_${scala.version}</artifactId>
  36.             <version>${spark.version}</version>
  37.         </dependency>
  38.  
  39.         <dependency>
  40.             <groupId>org.elasticsearch</groupId>
  41.             <artifactId>elasticsearch-spark-30_2.12</artifactId>
  42.             <version>8.12.0</version>
  43.         </dependency>
  44.  
  45.         <dependency>
  46.             <groupId>org.scala-lang</groupId>
  47.             <artifactId>scala-library</artifactId>
  48.             <version>2.12.17</version>
  49.         </dependency>
  50.  
  51.         <dependency>
  52.             <groupId>org.scala-lang</groupId>
  53.             <artifactId>scala-reflect</artifactId>
  54.             <version>2.12.17</version>
  55.         </dependency>
  56.  
  57.         <dependency>
  58.             <groupId>ch.qos.logback</groupId>
  59.             <artifactId>logback-classic</artifactId>
  60.             <version>1.2.3</version>
  61.         </dependency>
  62.     </dependencies>
  63.  
  64. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement