pom.xml 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.elab.core</groupId>
  8. <artifactId>elab-parent</artifactId>
  9. <version>2.0.4.11-SNAPSHOT</version>
  10. </parent>
  11. <groupId>com.elab.cache</groupId>
  12. <artifactId>elab-cache</artifactId>
  13. <properties>
  14. <java-version>1.8</java-version>
  15. <profiles.active>skyforest</profiles.active>
  16. <elasticsearch>5.3.2</elasticsearch>
  17. <cachecloud-open-client-basic>1.0-SNAPSHOT</cachecloud-open-client-basic>
  18. <cachecloud-jedis>1.0-SNAPSHOT</cachecloud-jedis>
  19. <cachecloud-open-common.version>1.0-SNAPSHOT</cachecloud-open-common.version>
  20. <maven.compiler.plugin>3.1</maven.compiler.plugin>
  21. <maven.compiler.target>1.7</maven.compiler.target>
  22. <maven.war.plugin>2.4</maven.war.plugin>
  23. <maven.surefire.plugin>2.16</maven.surefire.plugin>
  24. <maven.clean.plugin>2.5</maven.clean.plugin>
  25. <maven.deloy.plugin>2.8.1</maven.deloy.plugin>
  26. <maven-source-plugin>2.2.1</maven-source-plugin>
  27. <maven-resources-plugin>2.6</maven-resources-plugin>
  28. </properties>
  29. <dependencies>
  30. <dependency>
  31. <groupId>com.elab.core</groupId>
  32. <artifactId>elab-core</artifactId>
  33. <version>${project.version}</version>
  34. <exclusions>
  35. <exclusion>
  36. <artifactId>javax.servlet-api</artifactId>
  37. <groupId>javax.servlet</groupId>
  38. </exclusion>
  39. </exclusions>
  40. </dependency>
  41. <!-- sohu redis -->
  42. <dependency>
  43. <groupId>com.sohu.tv</groupId>
  44. <artifactId>cachecloud-jedis</artifactId>
  45. <version>${cachecloud-jedis}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.sohu.tv</groupId>
  49. <artifactId>cachecloud-open-client-redis</artifactId>
  50. <version>${cachecloud-open-client-basic}</version>
  51. <exclusions>
  52. <exclusion>
  53. <artifactId>jedis</artifactId>
  54. <groupId>redis.clients</groupId>
  55. </exclusion>
  56. </exclusions>
  57. </dependency>
  58. <!--<dependency>-->
  59. <!--<groupId>org.apache.logging.log4j</groupId>-->
  60. <!--<artifactId>log4j-core</artifactId>-->
  61. <!--<version>2.8.2</version>-->
  62. <!--</dependency>-->
  63. <dependency>
  64. <groupId>org.springframework</groupId>
  65. <artifactId>spring-core</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework</groupId>
  69. <artifactId>spring-context</artifactId>
  70. </dependency>
  71. <!--<dependency>-->
  72. <!--<groupId>org.springframework.data</groupId>-->
  73. <!--<artifactId>spring-data-redis</artifactId>-->
  74. <!--<version>2.0.0.RELEASE</version>-->
  75. <!--</dependency>-->
  76. <!-- 工具 -->
  77. <!--<dependency>-->
  78. <!--<groupId>com.alibaba</groupId>-->
  79. <!--<artifactId>fastjson</artifactId>-->
  80. <!--</dependency>-->
  81. <!--<dependency>-->
  82. <!--<groupId>org.apache.commons</groupId>-->
  83. <!--<artifactId>commons-lang3</artifactId>-->
  84. <!--<version>3.4</version>-->
  85. <!--</dependency>-->
  86. <!--<dependency>-->
  87. <!--<groupId>commons-beanutils</groupId>-->
  88. <!--<artifactId>commons-beanutils</artifactId>-->
  89. <!--<version>1.9.3</version>-->
  90. <!--</dependency>-->
  91. <dependency>
  92. <groupId>org.springframework</groupId>
  93. <artifactId>spring-test</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>junit</groupId>
  97. <artifactId>junit</artifactId>
  98. <version>4.12</version>
  99. <scope>test</scope>
  100. </dependency>
  101. </dependencies>
  102. <build>
  103. <pluginManagement>
  104. <plugins>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-compiler-plugin</artifactId>
  108. <version>${maven.compiler.plugin}</version>
  109. <configuration>
  110. <source>${maven.compiler.target}</source>
  111. <target>${maven.compiler.target}</target>
  112. </configuration>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-surefire-plugin</artifactId>
  117. <version>${maven.surefire.plugin}</version>
  118. <configuration>
  119. <skipTests>true</skipTests>
  120. </configuration>
  121. </plugin>
  122. <!--<plugin>-->
  123. <!--<artifactId>maven-clean-plugin</artifactId>-->
  124. <!--<version>${maven.clean.plugin}</version>-->
  125. <!--<configuration>-->
  126. <!--<filesets>-->
  127. <!--<fileset>-->
  128. <!--<directory>${basedir}/src/main/webapp/WEB-INF/classes</directory>-->
  129. <!--</fileset>-->
  130. <!--<fileset>-->
  131. <!--<directory>${basedir}/src/main/webapp/WEB-INF/lib</directory>-->
  132. <!--</fileset>-->
  133. <!--</filesets>-->
  134. <!--</configuration>-->
  135. <!--</plugin>-->
  136. <plugin>
  137. <groupId>org.apache.maven.plugins</groupId>
  138. <artifactId>maven-deploy-plugin</artifactId>
  139. <version>${maven.deloy.plugin}</version>
  140. </plugin>
  141. <!-- 打包javadoc插件 -->
  142. <plugin>
  143. <groupId>org.apache.maven.plugins</groupId>
  144. <artifactId>maven-javadoc-plugin</artifactId>
  145. <executions>
  146. <execution>
  147. <id>attach-javadocs</id>
  148. <goals>
  149. <goal>jar</goal>
  150. </goals>
  151. </execution>
  152. </executions>
  153. </plugin>
  154. <plugin>
  155. <groupId>org.apache.maven.plugins</groupId>
  156. <artifactId>maven-source-plugin</artifactId>
  157. <version>${maven-source-plugin}</version>
  158. <configuration>
  159. <attach>true</attach>
  160. </configuration>
  161. <executions>
  162. <execution>
  163. <phase>compile</phase>
  164. <goals>
  165. <goal>jar</goal>
  166. </goals>
  167. </execution>
  168. </executions>
  169. </plugin>
  170. <plugin>
  171. <groupId>org.apache.maven.plugins</groupId>
  172. <artifactId>maven-resources-plugin</artifactId>
  173. <version>${maven-resources-plugin}</version>
  174. <configuration>
  175. <encoding>UTF-8</encoding>
  176. </configuration>
  177. </plugin>
  178. </plugins>
  179. </pluginManagement>
  180. </build>
  181. <distributionManagement>
  182. <repository>
  183. <id>releases</id>
  184. <name>Nexus Release Repository</name>
  185. <url>http://192.168.0.11:8081/nexus/content/repositories/elab/</url>
  186. </repository>
  187. </distributionManagement>
  188. </project>