pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. <maven.compiler.source>8</maven.compiler.source>
  19. <maven.compiler.target>8</maven.compiler.target>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>org.apache.spark</groupId>
  24. <artifactId>spark-core_2.11</artifactId>
  25. <version>${spark.version}</version>
  26. <exclusions>
  27. <exclusion>
  28. <groupId>io.netty</groupId>
  29. <artifactId>netty-all</artifactId>
  30. </exclusion>
  31. </exclusions>
  32. </dependency>
  33. <dependency>
  34. <groupId>io.netty</groupId>
  35. <artifactId>netty-all</artifactId>
  36. <version>4.1.17.Final</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.alibaba</groupId>
  40. <artifactId>fastjson</artifactId>
  41. <version>${fastjson.version}</version>
  42. </dependency>
  43. <!-- <dependency>-->
  44. <!-- <groupId>org.apache.spark</groupId>-->
  45. <!-- <artifactId>spark-mllib_2.11</artifactId>-->
  46. <!-- <version>${spark.version}</version>-->
  47. <!-- </dependency>-->
  48. <!-- <dependency>-->
  49. <!-- <groupId>org.apache.spark</groupId>-->
  50. <!-- <artifactId>spark-sql_2.11</artifactId>-->
  51. <!-- <version>${spark.version}</version>-->
  52. <!-- </dependency>-->
  53. <!-- <dependency>-->
  54. <!-- <groupId>org.apache.spark</groupId>-->
  55. <!-- <artifactId>spark-streaming_2.11</artifactId>-->
  56. <!-- <version>${spark.version}</version>-->
  57. <!-- </dependency>-->
  58. <dependency>
  59. <groupId>com.aliyun.emr</groupId>
  60. <artifactId>emr-maxcompute_2.11</artifactId>
  61. <version>${emr.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>redis.clients</groupId>
  65. <artifactId>jedis</artifactId>
  66. <version>5.1.3</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.aliyun.odps</groupId>
  70. <artifactId>odps-sdk-core</artifactId>
  71. <version>${odps.version}</version>
  72. <exclusions>
  73. <exclusion>
  74. <groupId>org.codehaus.jackson</groupId>
  75. <artifactId>jackson-mapper-asl</artifactId>
  76. </exclusion>
  77. <exclusion>
  78. <groupId>org.codehaus.jackson</groupId>
  79. <artifactId>jackson-core-asl</artifactId>
  80. </exclusion>
  81. </exclusions>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.aliyun.odps</groupId>
  85. <artifactId>odps-sdk-commons</artifactId>
  86. <version>${odps.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.projectlombok</groupId>
  90. <artifactId>lombok</artifactId>
  91. <version>1.18.24</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.ctrip.framework.apollo</groupId>
  95. <artifactId>apollo-client</artifactId>
  96. <version>1.8.0</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.slf4j</groupId>
  100. <artifactId>slf4j-simple</artifactId>
  101. <version>1.7.28</version>
  102. </dependency>
  103. </dependencies>
  104. <build>
  105. <plugins>
  106. <plugin>
  107. <groupId>org.apache.maven.plugins</groupId>
  108. <artifactId>maven-assembly-plugin</artifactId>
  109. <version>2.5.5</version>
  110. <configuration>
  111. <descriptorRefs>
  112. <descriptorRef>jar-with-dependencies</descriptorRef>
  113. </descriptorRefs>
  114. <finalName>${project.name}</finalName>
  115. </configuration>
  116. <executions>
  117. <execution>
  118. <id>make-assembly</id>
  119. <phase>package</phase>
  120. <goals>
  121. <goal>single</goal>
  122. </goals>
  123. </execution>
  124. </executions>
  125. </plugin>
  126. </plugins>
  127. </build>
  128. </project>