pom.xml.versionsBackup 7.8 KB

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