Untitled
unknown
xml
a year ago
4.3 kB
2
Indexable
Never
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <artifactId>apache-spark</artifactId> <groupId>vn.vnpt.oneiot</groupId> <version>1.0-SNAPSHOT</version> <name>apache-spark</name> <packaging>jar</packaging> <properties> <maven.compiler.source>8</maven.compiler.source> <maven.compiler.target>8</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <org.apache.spark.spark-core.version>3.4.1</org.apache.spark.spark-core.version> <org.apache.spark.spark-sql.version>3.4.1</org.apache.spark.spark-sql.version> <org.apache.spark.spark-streaming.version>3.4.1</org.apache.spark.spark-streaming.version> <org.apache.spark.spark-mllib.version>3.3.2</org.apache.spark.spark-mllib.version> <org.apache.spark.spark-graphx.version>3.3.2</org.apache.spark.spark-graphx.version> <graphframes.version>0.8.1-spark3.0-s_2.12</graphframes.version> <org.apache.spark.spark-streaming-kafka.version>3.3.2</org.apache.spark.spark-streaming-kafka.version> <com.datastax.spark.spark-cassandra-connector.version>3.3.0</com.datastax.spark.spark-cassandra-connector.version> <com.datastax.spark.spark-cassandra-connector-java.version>1.6.0-M1</com.datastax.spark.spark-cassandra-connector-java.version> <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version> <postgres.version>42.5.4</postgres.version> </properties> <dependencies> <!-- https://mvnrepository.com/artifact/org.apache.spark/spark-core --> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-core_2.12</artifactId> <version>3.4.1</version> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.spark/spark-yarn --> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-yarn_2.12</artifactId> <version>3.4.1</version> <!-- <scope>provided</scope>--> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.spark/spark-sql --> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-sql_2.12</artifactId> <version>3.4.1</version> <!-- <scope>provided</scope>--> </dependency> </dependencies> <!-- <build>--> <!-- <plugins>--> <!-- <plugin>--> <!-- <groupId>org.springframework.boot</groupId>--> <!-- <artifactId>spring-boot-maven-plugin</artifactId>--> <!-- <version>2.2.6.RELEASE</version>--> <!-- <executions>--> <!-- <execution>--> <!-- <goals>--> <!-- <goal>repackage</goal>--> <!-- </goals>--> <!-- <configuration>--> <!-- <mainClass>org.example.SparkPi</mainClass>--> <!-- </configuration>--> <!-- </execution>--> <!-- </executions>--> <!-- <configuration>--> <!-- <fork>true</fork>--> <!-- </configuration>--> <!-- </plugin>--> <!-- </plugins>--> <!-- </build>--> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>${maven-assembly-plugin.version}</version> <executions> <execution> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> </plugin> </plugins> </build> </project>