説明なし

pom-war.xml 7.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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>io.renren</groupId>
  6. <artifactId>renren-fast</artifactId>
  7. <version>1.0.0</version>
  8. <packaging>war</packaging>
  9. <description>war包对应的pom,打war包,执行【mvn clean package -f pom-war.xml】</description>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>1.5.4.RELEASE</version>
  14. </parent>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <java.version>1.8</java.version>
  19. <mybatis.spring.boot.version>1.3.0</mybatis.spring.boot.version>
  20. <mysql.version>5.1.38</mysql.version>
  21. <druid.version>1.0.28</druid.version>
  22. <quartz.version>2.3.0</quartz.version>
  23. <commons.lang.version>2.6</commons.lang.version>
  24. <commons.fileupload.version>1.3.1</commons.fileupload.version>
  25. <commons.io.version>2.5</commons.io.version>
  26. <commons.codec.version>1.10</commons.codec.version>
  27. <commons.configuration.version>1.10</commons.configuration.version>
  28. <shiro.version>1.3.2</shiro.version>
  29. <kaptcha.version>0.0.9</kaptcha.version>
  30. <qiniu.version>[7.2.0, 7.2.99]</qiniu.version>
  31. <aliyun.oss.version>2.5.0</aliyun.oss.version>
  32. <qcloud.cos.version>4.4</qcloud.cos.version>
  33. </properties>
  34. <dependencies>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-test</artifactId>
  38. <scope>test</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-web</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-tomcat</artifactId>
  47. <scope>provided</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-aop</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework</groupId>
  55. <artifactId>spring-context-support</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-data-redis</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-configuration-processor</artifactId>
  64. <optional>true</optional>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-devtools</artifactId>
  69. <optional>true</optional>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.mybatis.spring.boot</groupId>
  73. <artifactId>mybatis-spring-boot-starter</artifactId>
  74. <version>${mybatis.spring.boot.version}</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>mysql</groupId>
  78. <artifactId>mysql-connector-java</artifactId>
  79. <version>${mysql.version}</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>com.alibaba</groupId>
  83. <artifactId>druid</artifactId>
  84. <version>${druid.version}</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.quartz-scheduler</groupId>
  88. <artifactId>quartz</artifactId>
  89. <version>${quartz.version}</version>
  90. <exclusions>
  91. <exclusion>
  92. <groupId>com.mchange</groupId>
  93. <artifactId>c3p0</artifactId>
  94. </exclusion>
  95. </exclusions>
  96. </dependency>
  97. <dependency>
  98. <groupId>commons-lang</groupId>
  99. <artifactId>commons-lang</artifactId>
  100. <version>${commons.lang.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>commons-fileupload</groupId>
  104. <artifactId>commons-fileupload</artifactId>
  105. <version>${commons.fileupload.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>commons-io</groupId>
  109. <artifactId>commons-io</artifactId>
  110. <version>${commons.io.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>commons-codec</groupId>
  114. <artifactId>commons-codec</artifactId>
  115. <version>${commons.codec.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>commons-configuration</groupId>
  119. <artifactId>commons-configuration</artifactId>
  120. <version>${commons.configuration.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.shiro</groupId>
  124. <artifactId>shiro-core</artifactId>
  125. <version>${shiro.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.shiro</groupId>
  129. <artifactId>shiro-spring</artifactId>
  130. <version>${shiro.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.github.axet</groupId>
  134. <artifactId>kaptcha</artifactId>
  135. <version>${kaptcha.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.qiniu</groupId>
  139. <artifactId>qiniu-java-sdk</artifactId>
  140. <version>${qiniu.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>com.aliyun.oss</groupId>
  144. <artifactId>aliyun-sdk-oss</artifactId>
  145. <version>${aliyun.oss.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>com.qcloud</groupId>
  149. <artifactId>cos_api</artifactId>
  150. <version>${qcloud.cos.version}</version>
  151. <exclusions>
  152. <exclusion>
  153. <groupId>org.slf4j</groupId>
  154. <artifactId>slf4j-log4j12</artifactId>
  155. </exclusion>
  156. </exclusions>
  157. </dependency>
  158. </dependencies>
  159. <build>
  160. <finalName>${artifactId}</finalName>
  161. <plugins>
  162. <plugin>
  163. <groupId>org.springframework.boot</groupId>
  164. <artifactId>spring-boot-maven-plugin</artifactId>
  165. <configuration>
  166. <fork>true</fork>
  167. </configuration>
  168. </plugin>
  169. </plugins>
  170. </build>
  171. <repositories>
  172. <repository>
  173. <id>public</id>
  174. <name>aliyun nexus</name>
  175. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  176. <releases>
  177. <enabled>true</enabled>
  178. </releases>
  179. </repository>
  180. </repositories>
  181. <pluginRepositories>
  182. <pluginRepository>
  183. <id>public</id>
  184. <name>aliyun nexus</name>
  185. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  186. <releases>
  187. <enabled>true</enabled>
  188. </releases>
  189. <snapshots>
  190. <enabled>false</enabled>
  191. </snapshots>
  192. </pluginRepository>
  193. </pluginRepositories>
  194. </project>