pom.xml 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.uas.ps</groupId>
  6. <artifactId>ps-parent</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <packaging>pom</packaging>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <maven.compiler.source>1.7</maven.compiler.source>
  12. <maven.compiler.target>1.7</maven.compiler.target>
  13. <maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion>
  14. <ps.core.version>0.0.1-SNAPSHOT</ps.core.version>
  15. <ps.entity.version>0.0.1-SNAPSHOT</ps.entity.version>
  16. <ps.sync.core.version>0.0.1-SNAPSHOT</ps.sync.core.version>
  17. <ps.httplog.version>0.0.1-SNAPSHOT</ps.httplog.version>
  18. <sso.integration.version>1.0-SNAPSHOT</sso.integration.version>
  19. <fastjson.version>1.2.15</fastjson.version>
  20. <druid.version>1.1.10</druid.version>
  21. <mysql.jdbc.version>5.1.41</mysql.jdbc.version>
  22. <oracle.jdbc.version>11.2.0</oracle.jdbc.version>
  23. <spring.boot.version>1.5.9.RELEASE</spring.boot.version>
  24. <javax.persistence.version>1.0.0.Final</javax.persistence.version>
  25. </properties>
  26. <dependencyManagement>
  27. <dependencies>
  28. <dependency>
  29. <groupId>com.uas.ps</groupId>
  30. <artifactId>ps-core</artifactId>
  31. <version>${ps.core.version}</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.uas.ps</groupId>
  35. <artifactId>ps-entity</artifactId>
  36. <version>${ps.entity.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.uas.ps</groupId>
  40. <artifactId>ps-sync-core</artifactId>
  41. <version>${ps.sync.core.version}</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.uas.ps</groupId>
  45. <artifactId>ps-httplog</artifactId>
  46. <version>${ps.httplog.version}</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.uas.account</groupId>
  50. <artifactId>sso-integration</artifactId>
  51. <version>${sso.integration.version}</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>mysql</groupId>
  55. <artifactId>mysql-connector-java</artifactId>
  56. <version>${mysql.jdbc.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.oracle</groupId>
  60. <artifactId>ojdbc6</artifactId>
  61. <version>${oracle.jdbc.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.alibaba</groupId>
  65. <artifactId>druid</artifactId>
  66. <version>${druid.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.alibaba</groupId>
  70. <artifactId>fastjson</artifactId>
  71. <version>${fastjson.version}</version>
  72. </dependency>
  73. <!--spring boot dependencies-->
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-dependencies</artifactId>
  77. <version>${spring.boot.version}</version>
  78. <type>pom</type>
  79. <scope>import</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.hibernate.javax.persistence</groupId>
  83. <artifactId>hibernate-jpa-2.1-api</artifactId>
  84. <version>${javax.persistence.version}</version>
  85. </dependency>
  86. </dependencies>
  87. </dependencyManagement>
  88. <build>
  89. <pluginManagement>
  90. <plugins>
  91. <!-- 生成javadoc文档包的插件 -->
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-javadoc-plugin</artifactId>
  95. <version>2.10.4</version>
  96. <executions>
  97. <execution>
  98. <id>attach-javadocs</id>
  99. <goals>
  100. <goal>aggregate</goal>
  101. <goal>jar</goal>
  102. </goals>
  103. </execution>
  104. </executions>
  105. </plugin>
  106. <!-- 生成sources源码包的插件 -->
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-source-plugin</artifactId>
  110. <version>2.4</version>
  111. <configuration>
  112. <attach>true</attach>
  113. </configuration>
  114. <executions>
  115. <execution>
  116. <phase>package</phase>
  117. <goals>
  118. <goal>jar-no-fork</goal>
  119. </goals>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. <!-- spring boot war 打包插件 -->
  124. <plugin>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-maven-plugin</artifactId>
  127. <version>1.5.8.RELEASE</version>
  128. <executions>
  129. <execution>
  130. <goals>
  131. <goal>repackage</goal>
  132. </goals>
  133. </execution>
  134. </executions>
  135. </plugin>
  136. </plugins>
  137. </pluginManagement>
  138. </build>
  139. <distributionManagement>
  140. <!-- 发布release仓库 -->
  141. <repository>
  142. <id>platform-release</id>
  143. <name>platform-release</name>
  144. <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
  145. </repository>
  146. <!-- 发布快照版本 -->
  147. <snapshotRepository>
  148. <id>platform-snapshots</id>
  149. <name>platform-snapshots</name>
  150. <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
  151. </snapshotRepository>
  152. </distributionManagement>
  153. </project>