dependency-reduced-pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3. <parent>
  4. <artifactId>recommend-model</artifactId>
  5. <groupId>com.tzld.piaoquan</groupId>
  6. <version>1.0.0</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>recommend-model-produce</artifactId>
  10. <build>
  11. <plugins>
  12. <plugin>
  13. <artifactId>maven-shade-plugin</artifactId>
  14. <version>3.6.0</version>
  15. <executions>
  16. <execution>
  17. <phase>package</phase>
  18. <goals>
  19. <goal>shade</goal>
  20. </goals>
  21. <configuration>
  22. <relocations>
  23. <relocation>
  24. <pattern>com.google.common</pattern>
  25. <shadedPattern>shade.com.google.common</shadedPattern>
  26. </relocation>
  27. </relocations>
  28. <filters>
  29. <filter>
  30. <artifact>*:*</artifact>
  31. <excludes>
  32. <exclude>META-INF/maven/**</exclude>
  33. <exclude>META-INF/*.SF</exclude>
  34. <exclude>META-INF/*.DSA</exclude>
  35. <exclude>META-INF/*.RSA</exclude>
  36. </excludes>
  37. </filter>
  38. </filters>
  39. <transformers>
  40. <transformer />
  41. </transformers>
  42. </configuration>
  43. </execution>
  44. </executions>
  45. </plugin>
  46. <plugin>
  47. <groupId>net.alchim31.maven</groupId>
  48. <artifactId>scala-maven-plugin</artifactId>
  49. <version>3.3.2</version>
  50. <executions>
  51. <execution>
  52. <id>scala-compile-first</id>
  53. <phase>process-resources</phase>
  54. <goals>
  55. <goal>compile</goal>
  56. </goals>
  57. </execution>
  58. <execution>
  59. <id>scala-test-compile-first</id>
  60. <phase>process-test-resources</phase>
  61. <goals>
  62. <goal>testCompile</goal>
  63. </goals>
  64. </execution>
  65. </executions>
  66. </plugin>
  67. </plugins>
  68. </build>
  69. <dependencies>
  70. <dependency>
  71. <groupId>org.apache.spark</groupId>
  72. <artifactId>spark-core_2.12</artifactId>
  73. <version>3.3.1</version>
  74. <scope>provided</scope>
  75. <exclusions>
  76. <exclusion>
  77. <artifactId>slf4j-log4j12</artifactId>
  78. <groupId>org.slf4j</groupId>
  79. </exclusion>
  80. <exclusion>
  81. <artifactId>scala-library</artifactId>
  82. <groupId>org.scala-lang</groupId>
  83. </exclusion>
  84. <exclusion>
  85. <artifactId>jersey-server</artifactId>
  86. <groupId>org.glassfish.jersey.core</groupId>
  87. </exclusion>
  88. <exclusion>
  89. <artifactId>jersey-common</artifactId>
  90. <groupId>org.glassfish.jersey.core</groupId>
  91. </exclusion>
  92. <exclusion>
  93. <artifactId>jersey-client</artifactId>
  94. <groupId>org.glassfish.jersey.core</groupId>
  95. </exclusion>
  96. <exclusion>
  97. <artifactId>jersey-container-servlet</artifactId>
  98. <groupId>org.glassfish.jersey.containers</groupId>
  99. </exclusion>
  100. <exclusion>
  101. <artifactId>jersey-container-servlet-core</artifactId>
  102. <groupId>org.glassfish.jersey.containers</groupId>
  103. </exclusion>
  104. <exclusion>
  105. <artifactId>protobuf-java</artifactId>
  106. <groupId>com.google.protobuf</groupId>
  107. </exclusion>
  108. <exclusion>
  109. <artifactId>guava</artifactId>
  110. <groupId>com.google.guava</groupId>
  111. </exclusion>
  112. </exclusions>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.apache.spark</groupId>
  116. <artifactId>spark-mllib_2.12</artifactId>
  117. <version>3.3.1</version>
  118. <scope>provided</scope>
  119. <exclusions>
  120. <exclusion>
  121. <artifactId>scala-library</artifactId>
  122. <groupId>org.scala-lang</groupId>
  123. </exclusion>
  124. <exclusion>
  125. <artifactId>hadoop-mapreduce-client-core</artifactId>
  126. <groupId>org.apache.hadoop</groupId>
  127. </exclusion>
  128. <exclusion>
  129. <artifactId>commons-compiler</artifactId>
  130. <groupId>org.codehaus.janino</groupId>
  131. </exclusion>
  132. <exclusion>
  133. <artifactId>janino</artifactId>
  134. <groupId>org.codehaus.janino</groupId>
  135. </exclusion>
  136. <exclusion>
  137. <artifactId>protobuf-java</artifactId>
  138. <groupId>com.google.protobuf</groupId>
  139. </exclusion>
  140. </exclusions>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.glassfish.jersey.core</groupId>
  144. <artifactId>jersey-server</artifactId>
  145. <version>2.22.2</version>
  146. <scope>provided</scope>
  147. <exclusions>
  148. <exclusion>
  149. <artifactId>jersey-media-jaxb</artifactId>
  150. <groupId>org.glassfish.jersey.media</groupId>
  151. </exclusion>
  152. <exclusion>
  153. <artifactId>jersey-client</artifactId>
  154. <groupId>org.glassfish.jersey.core</groupId>
  155. </exclusion>
  156. <exclusion>
  157. <artifactId>jersey-common</artifactId>
  158. <groupId>org.glassfish.jersey.core</groupId>
  159. </exclusion>
  160. </exclusions>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.glassfish.jersey.core</groupId>
  164. <artifactId>jersey-common</artifactId>
  165. <version>2.22.2</version>
  166. <scope>provided</scope>
  167. <exclusions>
  168. <exclusion>
  169. <artifactId>guava</artifactId>
  170. <groupId>com.google.guava</groupId>
  171. </exclusion>
  172. </exclusions>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.glassfish.jersey.containers</groupId>
  176. <artifactId>jersey-container-servlet</artifactId>
  177. <version>2.22.2</version>
  178. <scope>provided</scope>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.glassfish.jersey.containers</groupId>
  182. <artifactId>jersey-container-servlet-core</artifactId>
  183. <version>2.22.2</version>
  184. <scope>provided</scope>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.glassfish.jersey.media</groupId>
  188. <artifactId>jersey-media-jaxb</artifactId>
  189. <version>2.22.2</version>
  190. <scope>provided</scope>
  191. <exclusions>
  192. <exclusion>
  193. <artifactId>jersey-common</artifactId>
  194. <groupId>org.glassfish.jersey.core</groupId>
  195. </exclusion>
  196. </exclusions>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.glassfish.jersey.core</groupId>
  200. <artifactId>jersey-client</artifactId>
  201. <version>2.22.2</version>
  202. <scope>provided</scope>
  203. <exclusions>
  204. <exclusion>
  205. <artifactId>jersey-common</artifactId>
  206. <groupId>org.glassfish.jersey.core</groupId>
  207. </exclusion>
  208. </exclusions>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.codehaus.janino</groupId>
  212. <artifactId>janino</artifactId>
  213. <version>3.0.16</version>
  214. <scope>provided</scope>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.codehaus.janino</groupId>
  218. <artifactId>commons-compiler</artifactId>
  219. <version>3.0.16</version>
  220. <scope>provided</scope>
  221. </dependency>
  222. <dependency>
  223. <groupId>com.google.guava</groupId>
  224. <artifactId>guava</artifactId>
  225. <version>32.1.3-jre</version>
  226. <scope>provided</scope>
  227. </dependency>
  228. <dependency>
  229. <groupId>org.scala-lang</groupId>
  230. <artifactId>scala-library</artifactId>
  231. <version>2.12.15</version>
  232. <scope>provided</scope>
  233. </dependency>
  234. <dependency>
  235. <groupId>com.alibaba</groupId>
  236. <artifactId>fastjson</artifactId>
  237. <version>1.2.45</version>
  238. <scope>provided</scope>
  239. </dependency>
  240. <dependency>
  241. <groupId>io.milvus</groupId>
  242. <artifactId>milvus-sdk-java</artifactId>
  243. <version>2.4.9</version>
  244. <scope>provided</scope>
  245. <exclusions>
  246. <exclusion>
  247. <artifactId>grpc-api</artifactId>
  248. <groupId>io.grpc</groupId>
  249. </exclusion>
  250. <exclusion>
  251. <artifactId>guava</artifactId>
  252. <groupId>com.google.guava</groupId>
  253. </exclusion>
  254. </exclusions>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.projectlombok</groupId>
  258. <artifactId>lombok</artifactId>
  259. <version>1.18.24</version>
  260. <scope>provided</scope>
  261. </dependency>
  262. <dependency>
  263. <groupId>org.slf4j</groupId>
  264. <artifactId>slf4j-simple</artifactId>
  265. <version>1.7.28</version>
  266. <scope>provided</scope>
  267. </dependency>
  268. <dependency>
  269. <groupId>com.aliyun.oss</groupId>
  270. <artifactId>aliyun-sdk-oss</artifactId>
  271. <version>3.17.4</version>
  272. <scope>provided</scope>
  273. </dependency>
  274. <dependency>
  275. <groupId>ml.dmlc</groupId>
  276. <artifactId>xgboost4j-spark_2.12</artifactId>
  277. <version>1.7.6</version>
  278. <scope>provided</scope>
  279. <exclusions>
  280. <exclusion>
  281. <artifactId>scala-library</artifactId>
  282. <groupId>org.scala-lang</groupId>
  283. </exclusion>
  284. </exclusions>
  285. </dependency>
  286. <dependency>
  287. <groupId>com.tzld.piaoquan</groupId>
  288. <artifactId>recommend-model-jni</artifactId>
  289. <version>1.0.0</version>
  290. <scope>provided</scope>
  291. </dependency>
  292. <dependency>
  293. <groupId>io.grpc</groupId>
  294. <artifactId>grpc-api</artifactId>
  295. <version>1.59.1</version>
  296. <scope>provided</scope>
  297. <exclusions>
  298. <exclusion>
  299. <artifactId>guava</artifactId>
  300. <groupId>com.google.guava</groupId>
  301. </exclusion>
  302. </exclusions>
  303. </dependency>
  304. </dependencies>
  305. <properties>
  306. <emr.version>2.0.0</emr.version>
  307. <java.version>1.8</java.version>
  308. <guava.version>32.1.3-jre</guava.version>
  309. <maven.compiler.target>8</maven.compiler.target>
  310. <scala.version>2.12.15</scala.version>
  311. <spark.version>3.3.1</spark.version>
  312. <maven.compiler.source>8</maven.compiler.source>
  313. <protobuf.version>3.24.0</protobuf.version>
  314. <fastjson.version>1.2.45</fastjson.version>
  315. </properties>
  316. </project>