2018-06-26 10:31:57 +08:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2018-05-03 18:15:05 +08:00
|
|
|
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>
|
2018-06-26 10:31:57 +08:00
|
|
|
<groupId>piflow</groupId>
|
|
|
|
<artifactId>piflow-project</artifactId>
|
|
|
|
<version>0.9</version>
|
|
|
|
<packaging>pom</packaging>
|
2018-05-03 18:15:05 +08:00
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<jetty.version>9.0.0.M0</jetty.version>
|
2019-09-10 18:10:23 +08:00
|
|
|
<spark.version>2.2.0</spark.version>
|
2018-05-03 18:15:05 +08:00
|
|
|
<scala.version>2.11.8</scala.version>
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
2018-05-09 10:19:39 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.scala-lang</groupId>
|
|
|
|
<artifactId>scala-library</artifactId>
|
|
|
|
<version>${scala.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scala-lang</groupId>
|
|
|
|
<artifactId>scala-reflect</artifactId>
|
|
|
|
<version>${scala.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.scala-lang</groupId>
|
|
|
|
<artifactId>scala-compiler</artifactId>
|
|
|
|
<version>${scala.version}</version>
|
|
|
|
</dependency>
|
2018-05-03 18:15:05 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.11</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
|
<artifactId>spark-core_2.11</artifactId>
|
|
|
|
<version>${spark.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
|
<artifactId>spark-sql_2.11</artifactId>
|
|
|
|
<version>${spark.version}</version>
|
|
|
|
</dependency>
|
2018-07-10 17:13:27 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
|
<artifactId>spark-hive_2.11</artifactId>
|
|
|
|
<version>${spark.version}</version>
|
|
|
|
</dependency>
|
2018-09-10 10:58:42 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
|
<artifactId>spark-yarn_2.11</artifactId>
|
|
|
|
<version>${spark.version}</version>
|
|
|
|
</dependency>
|
2019-02-20 18:37:23 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
|
<artifactId>spark-streaming_2.11</artifactId>
|
|
|
|
<version>${spark.version}</version>
|
|
|
|
</dependency>
|
2019-02-27 10:58:34 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
|
<artifactId>spark-streaming-kafka-0-10_2.11</artifactId>
|
|
|
|
<version>${spark.version}</version>
|
|
|
|
</dependency>
|
2019-03-01 13:34:47 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
|
<artifactId>spark-streaming-flume_2.11</artifactId>
|
|
|
|
<version>${spark.version}</version>
|
|
|
|
</dependency>
|
2019-07-30 16:01:03 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mongodb.spark</groupId>
|
|
|
|
<artifactId>mongo-spark-connector_2.11</artifactId>
|
|
|
|
<version>${spark.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.spark</groupId>
|
|
|
|
<artifactId>spark-mllib_2.11</artifactId>
|
|
|
|
<version>${spark.version}</version>
|
|
|
|
</dependency>
|
2019-02-28 11:00:21 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.kafka</groupId>
|
|
|
|
<artifactId>kafka-clients</artifactId>
|
|
|
|
<version>2.1.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.kafka</groupId>
|
|
|
|
<artifactId>kafka_2.11</artifactId>
|
|
|
|
<version>2.1.1</version>
|
|
|
|
</dependency>
|
2018-10-24 17:33:46 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>1.4.197</version>
|
|
|
|
</dependency>
|
2019-07-24 08:25:12 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
|
<version>4.4</version>
|
|
|
|
</dependency>
|
2018-09-10 10:58:42 +08:00
|
|
|
|
2018-05-03 18:15:05 +08:00
|
|
|
</dependencies>
|
2018-06-26 10:31:57 +08:00
|
|
|
<build>
|
2019-04-09 15:20:22 +08:00
|
|
|
<!--<sourceDirectory>src/main/scala</sourceDirectory>
|
|
|
|
<testSourceDirectory>src/test/scala</testSourceDirectory>-->
|
2018-06-26 10:31:57 +08:00
|
|
|
<plugins>
|
2019-04-09 15:20:22 +08:00
|
|
|
<!--<plugin>
|
2018-06-26 10:31:57 +08:00
|
|
|
<groupId>org.scala-tools</groupId>
|
|
|
|
<artifactId>maven-scala-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
<goal>testCompile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<scalaVersion>${scala.version}</scalaVersion>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
2019-09-10 18:10:23 +08:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2018-06-26 10:31:57 +08:00
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.7.0</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
2019-04-09 15:20:22 +08:00
|
|
|
<!–<skipMain>true</skipMain>
|
|
|
|
<skip>true</skip>–>
|
2018-06-26 10:31:57 +08:00
|
|
|
</configuration>
|
2019-04-09 15:20:22 +08:00
|
|
|
</plugin>-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>net.alchim31.maven</groupId>
|
|
|
|
<artifactId>scala-maven-plugin</artifactId>
|
|
|
|
<version>3.2.2</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2019-09-10 18:10:23 +08:00
|
|
|
<id>Scaladoc</id>
|
2019-04-09 15:20:22 +08:00
|
|
|
<goals>
|
2019-09-10 18:10:23 +08:00
|
|
|
<goal>doc</goal>
|
2019-04-09 15:20:22 +08:00
|
|
|
</goals>
|
2019-09-10 18:10:23 +08:00
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<configuration>
|
|
|
|
<args>
|
|
|
|
<arg>-no-link-warnings</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
2019-04-09 15:20:22 +08:00
|
|
|
</execution>
|
|
|
|
<execution>
|
2019-09-10 18:10:23 +08:00
|
|
|
<id>compile</id>
|
2019-04-09 15:20:22 +08:00
|
|
|
<goals>
|
2019-09-10 18:10:23 +08:00
|
|
|
<goal>compile</goal>
|
2019-04-09 15:20:22 +08:00
|
|
|
<goal>testCompile</goal>
|
|
|
|
</goals>
|
2019-09-10 18:10:23 +08:00
|
|
|
<configuration>
|
|
|
|
<args>
|
|
|
|
<arg>-dependencyfile</arg>
|
|
|
|
<arg>${project.build.directory}/.scala_dependencies</arg>
|
|
|
|
</args>
|
|
|
|
</configuration>
|
|
|
|
<phase>compile</phase>
|
2019-04-09 15:20:22 +08:00
|
|
|
</execution>
|
2019-09-10 18:10:23 +08:00
|
|
|
|
2019-04-09 15:20:22 +08:00
|
|
|
<execution>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>compile</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2018-06-26 10:31:57 +08:00
|
|
|
</plugin>
|
2019-09-10 18:10:23 +08:00
|
|
|
<!--<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.10.4</version>
|
|
|
|
<configuration>
|
|
|
|
<aggregate>true</aggregate>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>attach-javadocs</id>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>-->
|
2018-06-26 10:31:57 +08:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<modules>
|
|
|
|
<module>piflow-core</module>
|
2018-09-05 17:54:21 +08:00
|
|
|
<!--<module>piflow-conf</module>-->
|
2018-07-10 17:13:27 +08:00
|
|
|
<module>piflow-bundle</module>
|
2018-09-05 17:54:21 +08:00
|
|
|
<module>piflow-server</module>
|
2018-06-26 10:31:57 +08:00
|
|
|
</modules>
|
2018-05-03 18:15:05 +08:00
|
|
|
</project>
|