pom.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>1.4.1.RELEASE</version>
  10. <relativePath/>
  11. </parent>
  12. <groupId>com.uas.platform</groupId>
  13. <artifactId>platform-city</artifactId>
  14. <packaging>war</packaging>
  15. <version>0.0.1</version>
  16. <name>platform-home Maven Webapp</name>
  17. <url>http://maven.apache.org</url>
  18. <profiles>
  19. <profile>
  20. <!-- 开发环境 -->
  21. <id>dev</id>
  22. <properties>
  23. <profile>dev</profile>
  24. <!-- static plugin -->
  25. <static-path>static</static-path>
  26. </properties>
  27. <!-- 默认 -->
  28. <activation>
  29. <activeByDefault>true</activeByDefault>
  30. </activation>
  31. </profile>
  32. <profile> <!-- 测试环境 -->
  33. <id>test</id>
  34. <properties>
  35. <profile>test</profile>
  36. <!-- static plugin -->
  37. <static-path>static</static-path>
  38. </properties>
  39. </profile>
  40. <profile>
  41. <!-- 生产环境 -->
  42. <id>prod</id>
  43. <properties>
  44. <profile>prod</profile>
  45. <!-- static plugin -->
  46. <static-path>https://static.usoftmall.com</static-path>
  47. </properties>
  48. </profile>
  49. </profiles>
  50. <dependencies>
  51. <!-- spring-webmvc -->
  52. <!--<dependency>
  53. <groupId>org.springframework</groupId>
  54. <artifactId>spring-webmvc</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework</groupId>
  58. <artifactId>spring-context-support</artifactId>
  59. </dependency>-->
  60. <!--spring boot-->
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-actuator</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-web</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>net.sourceforge.nekohtml</groupId>
  71. <artifactId>nekohtml</artifactId>
  72. <version>1.9.22</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-configuration-processor</artifactId>
  81. <optional>true</optional>
  82. </dependency>
  83. <!-- spring mobile -->
  84. <dependency>
  85. <groupId>com.uas.account</groupId>
  86. <artifactId>sso-integration</artifactId>
  87. <version>1.1.14-SNAPSHOT</version>
  88. </dependency>
  89. <!-- log4j -->
  90. <dependency>
  91. <groupId>log4j</groupId>
  92. <artifactId>log4j</artifactId>
  93. <version>1.2.16</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>commons-logging</groupId>
  97. <artifactId>commons-logging</artifactId>
  98. <version>1.1.1</version>
  99. </dependency>
  100. <!-- fastjson -->
  101. <dependency>
  102. <groupId>com.alibaba</groupId>
  103. <artifactId>fastjson</artifactId>
  104. <version>1.2.14</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>javax.servlet</groupId>
  108. <artifactId>servlet-api</artifactId>
  109. <version>3.0-alpha-1</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.uas.account</groupId>
  113. <artifactId>account-common</artifactId>
  114. <version>0.0.1-SNAPSHOT</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.apache.httpcomponents</groupId>
  118. <artifactId>httpclient</artifactId>
  119. <version>4.5.2</version>
  120. </dependency>
  121. </dependencies>
  122. <build>
  123. <finalName>platform-city</finalName>
  124. <!-- 受profile影响的目录 -->
  125. <resources>
  126. <resource>
  127. <directory>${basedir}/src/main/resources</directory>
  128. <filtering>true</filtering>
  129. </resource>
  130. <!-- <resource>
  131. <directory>${basedir}/src/main/resources/${profile}</directory>
  132. </resource>-->
  133. </resources>
  134. <plugins>
  135. <plugin>
  136. <groupId>org.springframework.boot</groupId>
  137. <artifactId>spring-boot-maven-plugin</artifactId>
  138. </plugin>
  139. <plugin>
  140. <groupId>org.apache.maven.plugins</groupId>
  141. <artifactId>maven-compiler-plugin</artifactId>
  142. <configuration>
  143. <source>1.7</source>
  144. <target>1.7</target>
  145. </configuration>
  146. </plugin>
  147. </plugins>
  148. </build>
  149. <organization>
  150. <name>usoft</name>
  151. <url>http://www.usoftchina.com</url>
  152. </organization>
  153. <distributionManagement>
  154. <!-- 发布release仓库 -->
  155. <repository>
  156. <id>platform-release</id>
  157. <name>platform-release</name>
  158. <url>http://113.105.74.141:8081/artifactory/libs-release-local</url>
  159. </repository>
  160. <!-- 发布快照版本 -->
  161. <snapshotRepository>
  162. <id>platform-snapshots</id>
  163. <name>platform-snapshots</name>
  164. <url>http://113.105.74.141:8081/artifactory/libs-snapshot-local</url>
  165. </snapshotRepository>
  166. </distributionManagement>
  167. </project>