pom.xml 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>1.4.1.RELEASE</version>
  9. </parent>
  10. <groupId>com.uas.reservation</groupId>
  11. <artifactId>reservation-parent</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <packaging>pom</packaging>
  14. <modules>
  15. <module>reservation-server</module>
  16. <module>reservation-common</module>
  17. </modules>
  18. <properties>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <maven.compiler.source>1.7</maven.compiler.source>
  21. <maven.compiler.target>1.7</maven.compiler.target>
  22. <maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion>
  23. <mysql.jdbc.version>5.1.41</mysql.jdbc.version>
  24. <druid.version>1.0.24</druid.version>
  25. <fastjson.version>1.2.15</fastjson.version>
  26. <reservation.common.version>0.0.1-SNAPSHOT</reservation.common.version>
  27. <ps.httplog.version>0.0.1-SNAPSHOT</ps.httplog.version>
  28. <ps.sync.core.version>0.0.1-SNAPSHOT</ps.sync.core.version>
  29. <dubbo.version>2.8.4</dubbo.version>
  30. <zkclient.version>0.1</zkclient.version>
  31. <dfs.version>0.0.2</dfs.version>
  32. <hessian.version>4.0.38</hessian.version>
  33. <sso.integration.version>1.1.12-SNAPSHOT</sso.integration.version>
  34. </properties>
  35. <dependencyManagement>
  36. <dependencies>
  37. <dependency>
  38. <groupId>mysql</groupId>
  39. <artifactId>mysql-connector-java</artifactId>
  40. <version>${mysql.jdbc.version}</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.alibaba</groupId>
  44. <artifactId>druid</artifactId>
  45. <version>${druid.version}</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.alibaba</groupId>
  49. <artifactId>fastjson</artifactId>
  50. <version>${fastjson.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.uas.reservation</groupId>
  54. <artifactId>reservation-common</artifactId>
  55. <version>${reservation.common.version}</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>com.uas.ps</groupId>
  59. <artifactId>ps-httplog</artifactId>
  60. <version>${ps.httplog.version}</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.uas.ps</groupId>
  64. <artifactId>ps-core</artifactId>
  65. <version>${ps.sync.core.version}</version>
  66. <exclusions>
  67. <exclusion>
  68. <groupId>*</groupId>
  69. <artifactId>*</artifactId>
  70. </exclusion>
  71. </exclusions>
  72. </dependency>
  73. <!-- dubbo -->
  74. <dependency>
  75. <groupId>com.alibaba</groupId>
  76. <artifactId>dubbo</artifactId>
  77. <version>${dubbo.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.github.sgroschupf</groupId>
  81. <artifactId>zkclient</artifactId>
  82. <version>${zkclient.version}</version>
  83. <exclusions>
  84. <exclusion>
  85. <artifactId>slf4j-log4j12</artifactId>
  86. <groupId>org.slf4j</groupId>
  87. </exclusion>
  88. </exclusions>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.uas.dfs</groupId>
  92. <artifactId>dfs-api</artifactId>
  93. <version>${dfs.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.caucho</groupId>
  97. <artifactId>hessian</artifactId>
  98. <version>${hessian.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.uas.account</groupId>
  102. <artifactId>sso-integration</artifactId>
  103. <version>${sso.integration.version}</version>
  104. </dependency>
  105. </dependencies>
  106. </dependencyManagement>
  107. <build>
  108. <pluginManagement>
  109. <plugins>
  110. <!-- 生成javadoc文档包的插件 -->
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-javadoc-plugin</artifactId>
  114. <version>2.10.4</version>
  115. <executions>
  116. <execution>
  117. <id>attach-javadocs</id>
  118. <goals>
  119. <goal>aggregate</goal>
  120. <goal>jar</goal>
  121. </goals>
  122. </execution>
  123. </executions>
  124. </plugin>
  125. <!-- 生成sources源码包的插件 -->
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-source-plugin</artifactId>
  129. <version>2.4</version>
  130. <configuration>
  131. <attach>true</attach>
  132. </configuration>
  133. <executions>
  134. <execution>
  135. <phase>package</phase>
  136. <goals>
  137. <goal>jar-no-fork</goal>
  138. </goals>
  139. </execution>
  140. </executions>
  141. </plugin>
  142. <!-- spring boot war 打包插件 -->
  143. <plugin>
  144. <groupId>org.springframework.boot</groupId>
  145. <artifactId>spring-boot-maven-plugin</artifactId>
  146. <version>1.5.8.RELEASE</version>
  147. <executions>
  148. <execution>
  149. <goals>
  150. <goal>repackage</goal>
  151. </goals>
  152. </execution>
  153. </executions>
  154. </plugin>
  155. </plugins>
  156. </pluginManagement>
  157. </build>
  158. <distributionManagement>
  159. <!-- 发布release仓库 -->
  160. <repository>
  161. <id>platform-release</id>
  162. <name>platform-release</name>
  163. <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
  164. </repository>
  165. <!-- 发布快照版本 -->
  166. <snapshotRepository>
  167. <id>platform-snapshots</id>
  168. <name>platform-snapshots</name>
  169. <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
  170. </snapshotRepository>
  171. </distributionManagement>
  172. </project>