|
@@ -1,316 +0,0 @@
|
|
|
-<?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/maven-v4_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>
|
|
|
- <build>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-shade-plugin</artifactId>
|
|
|
- <version>3.6.0</version>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <phase>package</phase>
|
|
|
- <goals>
|
|
|
- <goal>shade</goal>
|
|
|
- </goals>
|
|
|
- <configuration>
|
|
|
- <relocations>
|
|
|
- <relocation>
|
|
|
- <pattern>com.google.common</pattern>
|
|
|
- <shadedPattern>shade.com.google.common</shadedPattern>
|
|
|
- </relocation>
|
|
|
- </relocations>
|
|
|
- <filters>
|
|
|
- <filter>
|
|
|
- <artifact>*:*</artifact>
|
|
|
- <excludes>
|
|
|
- <exclude>META-INF/maven/**</exclude>
|
|
|
- <exclude>META-INF/*.SF</exclude>
|
|
|
- <exclude>META-INF/*.DSA</exclude>
|
|
|
- <exclude>META-INF/*.RSA</exclude>
|
|
|
- </excludes>
|
|
|
- </filter>
|
|
|
- </filters>
|
|
|
- <transformers>
|
|
|
- <transformer />
|
|
|
- </transformers>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>net.alchim31.maven</groupId>
|
|
|
- <artifactId>scala-maven-plugin</artifactId>
|
|
|
- <version>3.3.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>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>org.apache.spark</groupId>
|
|
|
- <artifactId>spark-core_2.12</artifactId>
|
|
|
- <version>3.3.1</version>
|
|
|
- <scope>provided</scope>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <artifactId>slf4j-log4j12</artifactId>
|
|
|
- <groupId>org.slf4j</groupId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <artifactId>scala-library</artifactId>
|
|
|
- <groupId>org.scala-lang</groupId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <artifactId>jersey-server</artifactId>
|
|
|
- <groupId>org.glassfish.jersey.core</groupId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <artifactId>jersey-common</artifactId>
|
|
|
- <groupId>org.glassfish.jersey.core</groupId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <artifactId>jersey-client</artifactId>
|
|
|
- <groupId>org.glassfish.jersey.core</groupId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <artifactId>jersey-container-servlet</artifactId>
|
|
|
- <groupId>org.glassfish.jersey.containers</groupId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <artifactId>jersey-container-servlet-core</artifactId>
|
|
|
- <groupId>org.glassfish.jersey.containers</groupId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <artifactId>protobuf-java</artifactId>
|
|
|
- <groupId>com.google.protobuf</groupId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <artifactId>guava</artifactId>
|
|
|
- <groupId>com.google.guava</groupId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.apache.spark</groupId>
|
|
|
- <artifactId>spark-mllib_2.12</artifactId>
|
|
|
- <version>3.3.1</version>
|
|
|
- <scope>provided</scope>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <artifactId>scala-library</artifactId>
|
|
|
- <groupId>org.scala-lang</groupId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <artifactId>hadoop-mapreduce-client-core</artifactId>
|
|
|
- <groupId>org.apache.hadoop</groupId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <artifactId>commons-compiler</artifactId>
|
|
|
- <groupId>org.codehaus.janino</groupId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <artifactId>janino</artifactId>
|
|
|
- <groupId>org.codehaus.janino</groupId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <artifactId>protobuf-java</artifactId>
|
|
|
- <groupId>com.google.protobuf</groupId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.glassfish.jersey.core</groupId>
|
|
|
- <artifactId>jersey-server</artifactId>
|
|
|
- <version>2.22.2</version>
|
|
|
- <scope>provided</scope>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <artifactId>jersey-media-jaxb</artifactId>
|
|
|
- <groupId>org.glassfish.jersey.media</groupId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <artifactId>jersey-client</artifactId>
|
|
|
- <groupId>org.glassfish.jersey.core</groupId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <artifactId>jersey-common</artifactId>
|
|
|
- <groupId>org.glassfish.jersey.core</groupId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.glassfish.jersey.core</groupId>
|
|
|
- <artifactId>jersey-common</artifactId>
|
|
|
- <version>2.22.2</version>
|
|
|
- <scope>provided</scope>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <artifactId>guava</artifactId>
|
|
|
- <groupId>com.google.guava</groupId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.glassfish.jersey.containers</groupId>
|
|
|
- <artifactId>jersey-container-servlet</artifactId>
|
|
|
- <version>2.22.2</version>
|
|
|
- <scope>provided</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.glassfish.jersey.containers</groupId>
|
|
|
- <artifactId>jersey-container-servlet-core</artifactId>
|
|
|
- <version>2.22.2</version>
|
|
|
- <scope>provided</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.glassfish.jersey.media</groupId>
|
|
|
- <artifactId>jersey-media-jaxb</artifactId>
|
|
|
- <version>2.22.2</version>
|
|
|
- <scope>provided</scope>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <artifactId>jersey-common</artifactId>
|
|
|
- <groupId>org.glassfish.jersey.core</groupId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.glassfish.jersey.core</groupId>
|
|
|
- <artifactId>jersey-client</artifactId>
|
|
|
- <version>2.22.2</version>
|
|
|
- <scope>provided</scope>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <artifactId>jersey-common</artifactId>
|
|
|
- <groupId>org.glassfish.jersey.core</groupId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.codehaus.janino</groupId>
|
|
|
- <artifactId>janino</artifactId>
|
|
|
- <version>3.0.16</version>
|
|
|
- <scope>provided</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.codehaus.janino</groupId>
|
|
|
- <artifactId>commons-compiler</artifactId>
|
|
|
- <version>3.0.16</version>
|
|
|
- <scope>provided</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.google.guava</groupId>
|
|
|
- <artifactId>guava</artifactId>
|
|
|
- <version>32.1.3-jre</version>
|
|
|
- <scope>provided</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.scala-lang</groupId>
|
|
|
- <artifactId>scala-library</artifactId>
|
|
|
- <version>2.12.15</version>
|
|
|
- <scope>provided</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.alibaba</groupId>
|
|
|
- <artifactId>fastjson</artifactId>
|
|
|
- <version>1.2.45</version>
|
|
|
- <scope>provided</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>io.milvus</groupId>
|
|
|
- <artifactId>milvus-sdk-java</artifactId>
|
|
|
- <version>2.4.9</version>
|
|
|
- <scope>provided</scope>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <artifactId>grpc-api</artifactId>
|
|
|
- <groupId>io.grpc</groupId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <artifactId>guava</artifactId>
|
|
|
- <groupId>com.google.guava</groupId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.projectlombok</groupId>
|
|
|
- <artifactId>lombok</artifactId>
|
|
|
- <version>1.18.24</version>
|
|
|
- <scope>provided</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.slf4j</groupId>
|
|
|
- <artifactId>slf4j-simple</artifactId>
|
|
|
- <version>1.7.28</version>
|
|
|
- <scope>provided</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.aliyun.oss</groupId>
|
|
|
- <artifactId>aliyun-sdk-oss</artifactId>
|
|
|
- <version>3.17.4</version>
|
|
|
- <scope>provided</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>ml.dmlc</groupId>
|
|
|
- <artifactId>xgboost4j-spark_2.12</artifactId>
|
|
|
- <version>1.7.6</version>
|
|
|
- <scope>provided</scope>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <artifactId>scala-library</artifactId>
|
|
|
- <groupId>org.scala-lang</groupId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.tzld.piaoquan</groupId>
|
|
|
- <artifactId>recommend-model-jni</artifactId>
|
|
|
- <version>1.0.0</version>
|
|
|
- <scope>provided</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>io.grpc</groupId>
|
|
|
- <artifactId>grpc-api</artifactId>
|
|
|
- <version>1.59.1</version>
|
|
|
- <scope>provided</scope>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <artifactId>guava</artifactId>
|
|
|
- <groupId>com.google.guava</groupId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
- <properties>
|
|
|
- <emr.version>2.0.0</emr.version>
|
|
|
- <java.version>1.8</java.version>
|
|
|
- <guava.version>32.1.3-jre</guava.version>
|
|
|
- <maven.compiler.target>8</maven.compiler.target>
|
|
|
- <scala.version>2.12.15</scala.version>
|
|
|
- <spark.version>3.3.1</spark.version>
|
|
|
- <maven.compiler.source>8</maven.compiler.source>
|
|
|
- <protobuf.version>3.24.0</protobuf.version>
|
|
|
- <fastjson.version>1.2.45</fastjson.version>
|
|
|
- </properties>
|
|
|
-</project>
|