|
@@ -0,0 +1,171 @@
|
|
|
+<?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">
|
|
|
+ <parent>
|
|
|
+ <artifactId>recommend-model</artifactId>
|
|
|
+ <groupId>com.tzld.piaoquan</groupId>
|
|
|
+ <version>1.0.0</version>
|
|
|
+ </parent>
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+
|
|
|
+ <artifactId>recommend-model-produce</artifactId>
|
|
|
+
|
|
|
+ <properties>
|
|
|
+ <!-- <spark.version>3.3.1</spark.version>-->
|
|
|
+ <!-- <scala.version>2.12.15</scala.version>-->
|
|
|
+ <spark.version>2.3.0</spark.version>
|
|
|
+ <scala.version>2.11.8</scala.version>
|
|
|
+ <emr.version>2.0.0</emr.version>
|
|
|
+ <java.version>1.8</java.version>
|
|
|
+ <odps.version>0.48.4-public</odps.version>
|
|
|
+ <fastjson.version>1.2.45</fastjson.version>
|
|
|
+
|
|
|
+ <maven.compiler.source>8</maven.compiler.source>
|
|
|
+ <maven.compiler.target>8</maven.compiler.target>
|
|
|
+ </properties>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-core_2.11</artifactId>
|
|
|
+ <version>${spark.version}</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>io.netty</groupId>
|
|
|
+ <artifactId>netty-all</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>slf4j-log4j12</artifactId>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>scala-library</artifactId>
|
|
|
+ <groupId>org.scala-lang</groupId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.spark</groupId>
|
|
|
+ <artifactId>spark-mllib_2.11</artifactId>
|
|
|
+ <version>${spark.version}</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>scala-library</artifactId>
|
|
|
+ <groupId>org.scala-lang</groupId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.netty</groupId>
|
|
|
+ <artifactId>netty-all</artifactId>
|
|
|
+ <version>4.1.17.Final</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.aliyun.emr</groupId>
|
|
|
+ <artifactId>emr-maxcompute_2.11</artifactId>
|
|
|
+ <version>${emr.version}</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>spark-core_2.11</artifactId>
|
|
|
+ <groupId>org.apache.spark</groupId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>spark-catalyst_2.11</artifactId>
|
|
|
+ <groupId>org.apache.spark</groupId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.scala-lang</groupId>
|
|
|
+ <artifactId>scala-library</artifactId>
|
|
|
+ <version>${scala.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
+ <artifactId>fastjson</artifactId>
|
|
|
+ <version>${fastjson.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>redis.clients</groupId>
|
|
|
+ <artifactId>jedis</artifactId>
|
|
|
+ <version>5.1.3</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.aliyun.odps</groupId>
|
|
|
+ <artifactId>odps-sdk-core</artifactId>
|
|
|
+ <version>${odps.version}</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>org.codehaus.jackson</groupId>
|
|
|
+ <artifactId>jackson-mapper-asl</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>org.codehaus.jackson</groupId>
|
|
|
+ <artifactId>jackson-core-asl</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.aliyun.odps</groupId>
|
|
|
+ <artifactId>odps-sdk-commons</artifactId>
|
|
|
+ <version>${odps.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
+ <version>1.18.24</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.ctrip.framework.apollo</groupId>
|
|
|
+ <artifactId>apollo-client</artifactId>
|
|
|
+ <version>1.8.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
+ <artifactId>slf4j-simple</artifactId>
|
|
|
+ <version>1.7.28</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.aliyun.oss</groupId>
|
|
|
+ <artifactId>aliyun-sdk-oss</artifactId>
|
|
|
+ <version>3.17.4</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>ml.dmlc</groupId>
|
|
|
+ <artifactId>xgboost4j-spark</artifactId>
|
|
|
+ <version>0.90</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <artifactId>scala-library</artifactId>
|
|
|
+ <groupId>org.scala-lang</groupId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
+ <version>2.5.5</version>
|
|
|
+ <configuration>
|
|
|
+ <descriptorRefs>
|
|
|
+ <descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
+ </descriptorRefs>
|
|
|
+ <finalName>${project.name}</finalName>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>make-assembly</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>single</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+</project>
|