pom.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>recommend-model</artifactId>
  7. <groupId>com.tzld.piaoquan</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>recommend-model-produce</artifactId>
  12. <properties>
  13. <!-- <spark.version>3.3.1</spark.version>-->
  14. <!-- <scala.version>2.12.15</scala.version>-->
  15. <spark.version>2.3.0</spark.version>
  16. <scala.version>2.11.8</scala.version>
  17. <emr.version>2.0.0</emr.version>
  18. <java.version>1.8</java.version>
  19. <odps.version>0.48.4-public</odps.version>
  20. <fastjson.version>1.2.45</fastjson.version>
  21. <maven.compiler.source>8</maven.compiler.source>
  22. <maven.compiler.target>8</maven.compiler.target>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>org.apache.spark</groupId>
  27. <artifactId>spark-core_2.11</artifactId>
  28. <version>${spark.version}</version>
  29. <exclusions>
  30. <exclusion>
  31. <groupId>io.netty</groupId>
  32. <artifactId>netty-all</artifactId>
  33. </exclusion>
  34. <exclusion>
  35. <artifactId>slf4j-log4j12</artifactId>
  36. <groupId>org.slf4j</groupId>
  37. </exclusion>
  38. <exclusion>
  39. <artifactId>scala-library</artifactId>
  40. <groupId>org.scala-lang</groupId>
  41. </exclusion>
  42. </exclusions>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.apache.spark</groupId>
  46. <artifactId>spark-mllib_2.11</artifactId>
  47. <version>${spark.version}</version>
  48. <exclusions>
  49. <exclusion>
  50. <artifactId>scala-library</artifactId>
  51. <groupId>org.scala-lang</groupId>
  52. </exclusion>
  53. </exclusions>
  54. </dependency>
  55. <dependency>
  56. <groupId>io.netty</groupId>
  57. <artifactId>netty-all</artifactId>
  58. <version>4.1.17.Final</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>com.aliyun.emr</groupId>
  62. <artifactId>emr-maxcompute_2.11</artifactId>
  63. <version>${emr.version}</version>
  64. <exclusions>
  65. <exclusion>
  66. <artifactId>spark-core_2.11</artifactId>
  67. <groupId>org.apache.spark</groupId>
  68. </exclusion>
  69. <exclusion>
  70. <artifactId>spark-catalyst_2.11</artifactId>
  71. <groupId>org.apache.spark</groupId>
  72. </exclusion>
  73. </exclusions>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.scala-lang</groupId>
  77. <artifactId>scala-library</artifactId>
  78. <version>${scala.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.alibaba</groupId>
  82. <artifactId>fastjson</artifactId>
  83. <version>${fastjson.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>redis.clients</groupId>
  87. <artifactId>jedis</artifactId>
  88. <version>5.1.3</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.aliyun.odps</groupId>
  92. <artifactId>odps-sdk-core</artifactId>
  93. <version>${odps.version}</version>
  94. <exclusions>
  95. <exclusion>
  96. <groupId>org.codehaus.jackson</groupId>
  97. <artifactId>jackson-mapper-asl</artifactId>
  98. </exclusion>
  99. <exclusion>
  100. <groupId>org.codehaus.jackson</groupId>
  101. <artifactId>jackson-core-asl</artifactId>
  102. </exclusion>
  103. </exclusions>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.aliyun.odps</groupId>
  107. <artifactId>odps-sdk-commons</artifactId>
  108. <version>${odps.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.projectlombok</groupId>
  112. <artifactId>lombok</artifactId>
  113. <version>1.18.24</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.ctrip.framework.apollo</groupId>
  117. <artifactId>apollo-client</artifactId>
  118. <version>1.8.0</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.slf4j</groupId>
  122. <artifactId>slf4j-simple</artifactId>
  123. <version>1.7.28</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.aliyun.oss</groupId>
  127. <artifactId>aliyun-sdk-oss</artifactId>
  128. <version>3.17.4</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>ml.dmlc</groupId>
  132. <artifactId>xgboost4j-spark</artifactId>
  133. <version>0.90</version>
  134. <exclusions>
  135. <exclusion>
  136. <artifactId>scala-library</artifactId>
  137. <groupId>org.scala-lang</groupId>
  138. </exclusion>
  139. </exclusions>
  140. </dependency>
  141. </dependencies>
  142. <build>
  143. <plugins>
  144. <plugin>
  145. <groupId>org.apache.maven.plugins</groupId>
  146. <artifactId>maven-assembly-plugin</artifactId>
  147. <version>2.5.5</version>
  148. <configuration>
  149. <descriptorRefs>
  150. <descriptorRef>jar-with-dependencies</descriptorRef>
  151. </descriptorRefs>
  152. <finalName>${project.name}</finalName>
  153. </configuration>
  154. <executions>
  155. <execution>
  156. <id>make-assembly</id>
  157. <phase>package</phase>
  158. <goals>
  159. <goal>single</goal>
  160. </goals>
  161. </execution>
  162. </executions>
  163. </plugin>
  164. </plugins>
  165. </build>
  166. </project>