pom-war.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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.warewms</groupId>
  6. <artifactId>jnmc</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>2.0.0.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. <mybatisplus.spring.boot.version>1.0.5</mybatisplus.spring.boot.version>
  20. <mybatisplus.version>2.1.9</mybatisplus.version>
  21. <mysql.version>8.0.20</mysql.version>
  22. <mssql.version>4.0</mssql.version>
  23. <oracle.version>11.2.0.3</oracle.version>
  24. <druid.version>1.1.10</druid.version>
  25. <quartz.version>2.3.0</quartz.version>
  26. <commons.lang.version>3.7</commons.lang.version>
  27. <commons.fileupload.version>1.2.2</commons.fileupload.version>
  28. <commons.io.version>2.5</commons.io.version>
  29. <commons.codec.version>1.10</commons.codec.version>
  30. <commons.configuration.version>1.10</commons.configuration.version>
  31. <shiro.version>1.3.2</shiro.version>
  32. <jwt.version>0.7.0</jwt.version>
  33. <kaptcha.version>0.0.9</kaptcha.version>
  34. <qiniu.version>[7.2.0, 7.2.99]</qiniu.version>
  35. <aliyun.oss.version>2.8.3</aliyun.oss.version>
  36. <qcloud.cos.version>4.4</qcloud.cos.version>
  37. <swagger.version>2.8.0</swagger.version>
  38. <joda.time.version>2.9.9</joda.time.version>
  39. <fastjson.version>1.2.45</fastjson.version>
  40. <docker.plugin.version>0.4.14</docker.plugin.version>
  41. <docker.image.prefix>registry.cn-hangzhou.aliyuncs.com/tcb</docker.image.prefix>
  42. <docker.image.base>java:8</docker.image.base>
  43. <docker.image.push>false</docker.image.push>
  44. <docker.expose>8080</docker.expose>
  45. </properties>
  46. <dependencies>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-web</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.projectlombok</groupId>
  53. <artifactId>lombok</artifactId>
  54. <version>1.18.10</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-test</artifactId>
  59. <scope>test</scope>
  60. <exclusions>
  61. <exclusion>
  62. <groupId>org.junit.vintage</groupId>
  63. <artifactId>junit-vintage-engine</artifactId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. <dependency>
  68. <groupId>redis.clients</groupId>
  69. <artifactId>jedis</artifactId>
  70. <version>2.9.0</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.commons</groupId>
  74. <artifactId>commons-lang3</artifactId>
  75. <version>3.7</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.slf4j</groupId>
  79. <artifactId>slf4j-api</artifactId>
  80. <version>1.7.7</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-data-redis</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.alibaba</groupId>
  88. <artifactId>fastjson</artifactId>
  89. <version>1.2.45</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.squareup.okhttp3</groupId>
  93. <artifactId>okhttp</artifactId>
  94. <version>3.2.0</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.httpcomponents</groupId>
  98. <artifactId>httpclient</artifactId>
  99. <version>4.5</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-starter-websocket</artifactId>
  104. </dependency>
  105. </dependencies>
  106. <build>
  107. <finalName>${project.artifactId}</finalName>
  108. <extensions>
  109. <extension>
  110. <groupId>org.apache.maven.wagon</groupId>
  111. <artifactId>wagon-ssh</artifactId>
  112. <version>2.8</version>
  113. </extension>
  114. </extensions>
  115. <plugins>
  116. <plugin>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-maven-plugin</artifactId>
  119. <configuration>
  120. <fork>true</fork>
  121. </configuration>
  122. </plugin>
  123. <!-- 跳过单元测试 -->
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-surefire-plugin</artifactId>
  127. <configuration>
  128. <skipTests>true</skipTests>
  129. </configuration>
  130. </plugin>
  131. </plugins>
  132. </build>
  133. <repositories>
  134. <repository>
  135. <id>public</id>
  136. <name>aliyun nexus</name>
  137. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  138. <releases>
  139. <enabled>true</enabled>
  140. </releases>
  141. </repository>
  142. </repositories>
  143. <pluginRepositories>
  144. <pluginRepository>
  145. <id>public</id>
  146. <name>aliyun nexus</name>
  147. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  148. <releases>
  149. <enabled>true</enabled>
  150. </releases>
  151. <snapshots>
  152. <enabled>false</enabled>
  153. </snapshots>
  154. </pluginRepository>
  155. </pluginRepositories>
  156. </project>