Last active
December 5, 2017 09:06
-
-
Save kisimple/6e48cfec1aa717776e2c5a20bf7cc3f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> | |
<groupId>me.kisimple</groupId> | |
<artifactId>just4fun</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<properties> | |
<java.version>1.8</java.version> | |
<scala.version>2.11.8</scala.version> | |
<scala.binary.version>2.11</scala.binary.version> | |
<spark.version>2.1.0</spark.version> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.spark</groupId> | |
<artifactId>spark-core_${scala.binary.version}</artifactId> | |
<version>${spark.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.spark</groupId> | |
<artifactId>spark-streaming_${scala.binary.version}</artifactId> | |
<version>${spark.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.spark</groupId> | |
<artifactId>spark-streaming-kafka-0-10_${scala.binary.version}</artifactId> | |
<version>${spark.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>net.alchim31.maven</groupId> | |
<artifactId>scala-maven-plugin</artifactId> | |
<version>3.2.2</version> | |
<executions> | |
<execution> | |
<id>scala-compile-first</id> | |
<phase>process-resources</phase> | |
<goals> | |
<goal>compile</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>scala-test-compile-first</id> | |
<phase>process-test-resources</phase> | |
<goals> | |
<goal>testCompile</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<scalaVersion>${scala.version}</scalaVersion> | |
<recompileMode>incremental</recompileMode> | |
<useZincServer>true</useZincServer> | |
<javacArgs> | |
<javacArg>-source</javacArg> | |
<javacArg>${java.version}</javacArg> | |
<javacArg>-target</javacArg> | |
<javacArg>${java.version}</javacArg> | |
</javacArgs> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-jar-plugin</artifactId> | |
<version>3.0.2</version> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment