pom.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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. <groupId>com.uas</groupId>
  7. <artifactId>credit</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>jar</packaging>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>1.4.1.RELEASE</version>
  14. </parent>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.uas.platform</groupId>
  18. <artifactId>platform-core</artifactId>
  19. <exclusions>
  20. <exclusion>
  21. <groupId>*</groupId>
  22. <artifactId>*</artifactId>
  23. </exclusion>
  24. </exclusions>
  25. <version>0.0.1-SNAPSHOT</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>junit</groupId>
  29. <artifactId>junit</artifactId>
  30. <scope>test</scope>
  31. </dependency>
  32. <dependency>
  33. <groupId>ant</groupId>
  34. <artifactId>ant</artifactId>
  35. <version>1.6.5</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.commons</groupId>
  39. <artifactId>commons-lang3</artifactId>
  40. <version>3.7</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-actuator</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-data-jpa</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.springframework.boot</groupId>
  52. <artifactId>spring-boot-starter-web</artifactId>
  53. </dependency>
  54. <!-- <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-security</artifactId>
  57. </dependency>-->
  58. <dependency>
  59. <groupId>org.springframework</groupId>
  60. <artifactId>spring-tx</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>mysql</groupId>
  64. <artifactId>mysql-connector-java</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.alibaba</groupId>
  68. <artifactId>druid</artifactId>
  69. <version>1.0.24</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-autoconfigure</artifactId>
  74. <version>1.4.1.RELEASE</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.alibaba</groupId>
  78. <artifactId>fastjson</artifactId>
  79. <version>1.2.15</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.uas.account</groupId>
  83. <artifactId>account-common</artifactId>
  84. <version>0.0.1-SNAPSHOT</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.alibaba</groupId>
  88. <artifactId>dubbo</artifactId>
  89. <version>2.8.4</version>
  90. <exclusions>
  91. <exclusion>
  92. <artifactId>log4j</artifactId>
  93. <groupId>log4j</groupId>
  94. </exclusion>
  95. </exclusions>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.caucho</groupId>
  99. <artifactId>hessian</artifactId>
  100. <version>4.0.38</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.uas.dfs</groupId>
  104. <artifactId>dfs-api</artifactId>
  105. <version>0.0.2</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.poi</groupId>
  109. <artifactId>poi</artifactId>
  110. <version>3.9</version>
  111. </dependency>
  112. </dependencies>
  113. <build>
  114. <plugins>
  115. <!-- 在maven生命周期validate阶段生成timestamp -->
  116. <plugin>
  117. <groupId>org.codehaus.mojo</groupId>
  118. <artifactId>buildnumber-maven-plugin</artifactId>
  119. <version>1.3</version>
  120. <executions>
  121. <execution>
  122. <phase>validate</phase>
  123. <goals>
  124. <goal>create-timestamp</goal>
  125. </goals>
  126. </execution>
  127. </executions>
  128. <configuration>
  129. <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
  130. <items>
  131. <item>timestamp</item>
  132. </items>
  133. </configuration>
  134. </plugin>
  135. <plugin>
  136. <groupId>org.apache.maven.plugins</groupId>
  137. <artifactId>maven-compiler-plugin</artifactId>
  138. <configuration>
  139. <encoding>${project.build.sourceEncoding}</encoding>
  140. <source>1.7</source>
  141. <target>1.7</target>
  142. </configuration>
  143. </plugin>
  144. <plugin>
  145. <artifactId>maven-resources-plugin</artifactId>
  146. <executions>
  147. <execution>
  148. <id>copy-resources</id>
  149. <phase>prepare-package</phase>
  150. <goals>
  151. <goal>copy-resources</goal>
  152. </goals>
  153. <configuration>
  154. <outputDirectory>${project.build.directory}/minify</outputDirectory>
  155. <overwrite>false</overwrite>
  156. <resources>
  157. <resource>
  158. <directory>${basedir}/src/main/webapp</directory>
  159. </resource>
  160. </resources>
  161. </configuration>
  162. </execution>
  163. </executions>
  164. </plugin>
  165. <plugin>
  166. <groupId>org.apache.maven.plugins</groupId>
  167. <artifactId>maven-war-plugin</artifactId>
  168. <configuration>
  169. <webResources>
  170. <resource>
  171. <directory>${project.build.directory}/statics</directory>
  172. </resource>
  173. <resource>
  174. <directory>${project.build.directory}/minify</directory>
  175. </resource>
  176. </webResources>
  177. </configuration>
  178. </plugin>
  179. <plugin>
  180. <groupId>org.springframework.boot</groupId>
  181. <artifactId>spring-boot-maven-plugin</artifactId>
  182. </plugin>
  183. </plugins>
  184. </build>
  185. <distributionManagement>
  186. <!-- 发布release仓库 -->
  187. <repository>
  188. <id>platform-release</id>
  189. <name>platform-release</name>
  190. <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
  191. </repository>
  192. <!-- 发布快照版本 -->
  193. <snapshotRepository>
  194. <id>platform-snapshots</id>
  195. <name>platform-snapshots</name>
  196. <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
  197. </snapshotRepository>
  198. </distributionManagement>
  199. </project>