pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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-feature</artifactId>
  7. <groupId>com.tzld.piaoquan</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>recommend-feature-produce</artifactId>
  12. <properties>
  13. <spark.version>2.3.1</spark.version>
  14. <emr.version>2.0.0</emr.version>
  15. <java.version>1.8</java.version>
  16. <odps.version>0.48.4-public</odps.version>
  17. <fastjson.version>1.2.45</fastjson.version>
  18. <scala.version>2.12.15</scala.version>
  19. <maven.compiler.source>8</maven.compiler.source>
  20. <maven.compiler.target>8</maven.compiler.target>
  21. </properties>
  22. <dependencies>
  23. <dependency>
  24. <groupId>org.apache.spark</groupId>
  25. <artifactId>spark-core_2.11</artifactId>
  26. <version>${spark.version}</version>
  27. <exclusions>
  28. <exclusion>
  29. <groupId>io.netty</groupId>
  30. <artifactId>netty-all</artifactId>
  31. </exclusion>
  32. <exclusion>
  33. <artifactId>scala-library</artifactId>
  34. <groupId>org.scala-lang</groupId>
  35. </exclusion>
  36. <exclusion>
  37. <artifactId>scala-parser-combinators_2.11</artifactId>
  38. <groupId>org.scala-lang.modules</groupId>
  39. </exclusion>
  40. <exclusion>
  41. <artifactId>scala-reflect</artifactId>
  42. <groupId>org.scala-lang</groupId>
  43. </exclusion>
  44. </exclusions>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.scala-lang</groupId>
  48. <artifactId>scala-library</artifactId>
  49. <version>${scala.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>io.netty</groupId>
  53. <artifactId>netty-all</artifactId>
  54. <version>4.1.17.Final</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.alibaba</groupId>
  58. <artifactId>fastjson</artifactId>
  59. <version>${fastjson.version}</version>
  60. </dependency>
  61. <!-- <dependency>-->
  62. <!-- <groupId>org.apache.spark</groupId>-->
  63. <!-- <artifactId>spark-mllib_2.11</artifactId>-->
  64. <!-- <version>${spark.version}</version>-->
  65. <!-- </dependency>-->
  66. <!-- <dependency>-->
  67. <!-- <groupId>org.apache.spark</groupId>-->
  68. <!-- <artifactId>spark-sql_2.11</artifactId>-->
  69. <!-- <version>${spark.version}</version>-->
  70. <!-- </dependency>-->
  71. <!-- <dependency>-->
  72. <!-- <groupId>org.apache.spark</groupId>-->
  73. <!-- <artifactId>spark-streaming_2.11</artifactId>-->
  74. <!-- <version>${spark.version}</version>-->
  75. <!-- </dependency>-->
  76. <dependency>
  77. <groupId>com.aliyun.emr</groupId>
  78. <artifactId>emr-maxcompute_2.11</artifactId>
  79. <version>${emr.version}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>redis.clients</groupId>
  83. <artifactId>jedis</artifactId>
  84. <version>5.1.3</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.aliyun.odps</groupId>
  88. <artifactId>odps-sdk-core</artifactId>
  89. <version>${odps.version}</version>
  90. <exclusions>
  91. <exclusion>
  92. <groupId>org.codehaus.jackson</groupId>
  93. <artifactId>jackson-mapper-asl</artifactId>
  94. </exclusion>
  95. <exclusion>
  96. <groupId>org.codehaus.jackson</groupId>
  97. <artifactId>jackson-core-asl</artifactId>
  98. </exclusion>
  99. </exclusions>
  100. </dependency>
  101. <dependency>
  102. <groupId>com.aliyun.odps</groupId>
  103. <artifactId>odps-sdk-commons</artifactId>
  104. <version>${odps.version}</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.projectlombok</groupId>
  108. <artifactId>lombok</artifactId>
  109. <version>1.18.24</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.ctrip.framework.apollo</groupId>
  113. <artifactId>apollo-client</artifactId>
  114. <version>1.8.0</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.slf4j</groupId>
  118. <artifactId>slf4j-simple</artifactId>
  119. <version>1.7.28</version>
  120. </dependency>
  121. </dependencies>
  122. <build>
  123. <plugins>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-assembly-plugin</artifactId>
  127. <version>2.5.5</version>
  128. <configuration>
  129. <descriptorRefs>
  130. <descriptorRef>jar-with-dependencies</descriptorRef>
  131. </descriptorRefs>
  132. <finalName>${project.name}</finalName>
  133. </configuration>
  134. <executions>
  135. <execution>
  136. <id>make-assembly</id>
  137. <phase>package</phase>
  138. <goals>
  139. <goal>single</goal>
  140. </goals>
  141. </execution>
  142. </executions>
  143. </plugin>
  144. </plugins>
  145. </build>
  146. </project>