2.0重构版本
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

177 righe
5.9 KiB

  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. <artifactId>sw-system-bpm</artifactId>
  7. <groupId>cc.smtweb</groupId>
  8. <version>2.2.2-SNAPSHOT</version>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.5.6</version>
  13. <relativePath/> <!-- lookup parent from repository -->
  14. </parent>
  15. <properties>
  16. <maven.compiler.target>1.8</maven.compiler.target>
  17. <maven.compiler.source>1.8</maven.compiler.source>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>cc.smtweb</groupId>
  26. <artifactId>sw-framework-auth</artifactId>
  27. <version>2.2.0-SNAPSHOT</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>cc.smtweb</groupId>
  31. <artifactId>sw-framework-file</artifactId>
  32. <version>2.2.0-SNAPSHOT</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.fasterxml.jackson.dataformat</groupId>
  36. <artifactId>jackson-dataformat-yaml</artifactId>
  37. <version>2.11.0</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.fasterxml.jackson.dataformat</groupId>
  41. <artifactId>jackson-dataformat-xml</artifactId>
  42. <version>2.11.0</version>
  43. </dependency>
  44. <!-- https://mvnrepository.com/artifact/net.jodah/typetools -->
  45. <!-- <dependency>-->
  46. <!-- <groupId>net.jodah</groupId>-->
  47. <!-- <artifactId>typetools</artifactId>-->
  48. <!-- <version>0.6.3</version>-->
  49. <!-- </dependency>-->
  50. <dependency>
  51. <groupId>org.apache.velocity</groupId>
  52. <artifactId>velocity-engine-core</artifactId>
  53. <version>2.3</version>
  54. <scope>compile</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-test</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-launcher -->
  62. <dependency>
  63. <groupId>org.junit.platform</groupId>
  64. <artifactId>junit-platform-launcher</artifactId>
  65. <version>1.6.2</version>
  66. <scope>test</scope>
  67. </dependency>
  68. <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
  69. <dependency>
  70. <groupId>org.junit.jupiter</groupId>
  71. <artifactId>junit-jupiter-api</artifactId>
  72. <version>5.6.2</version>
  73. <scope>test</scope>
  74. </dependency>
  75. <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
  76. <dependency>
  77. <groupId>org.junit.jupiter</groupId>
  78. <artifactId>junit-jupiter-engine</artifactId>
  79. <version>5.6.2</version>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.junit.vintage</groupId>
  84. <artifactId>junit-vintage-engine</artifactId>
  85. <version>5.6.2</version>
  86. <scope>test</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.junit.jupiter</groupId>
  90. <artifactId>junit-jupiter-params</artifactId>
  91. <version>5.6.2</version>
  92. <scope>test</scope>
  93. </dependency>
  94. <!-- https://mvnrepository.com/artifact/org.assertj/assertj-core -->
  95. <!-- <dependency>-->
  96. <!-- <groupId>org.assertj</groupId>-->
  97. <!-- <artifactId>assertj-core</artifactId>-->
  98. <!-- <version>3.16.0</version>-->
  99. <!-- <scope>test</scope>-->
  100. <!-- </dependency>-->
  101. <dependency>
  102. <groupId>org.springframework</groupId>
  103. <artifactId>spring-test</artifactId>
  104. <version>5.2.7.RELEASE</version>
  105. <scope>test</scope>
  106. </dependency>
  107. <!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
  108. <dependency>
  109. <groupId>org.mockito</groupId>
  110. <artifactId>mockito-all</artifactId>
  111. <version>1.10.19</version>
  112. <scope>test</scope>
  113. </dependency>
  114. </dependencies>
  115. <build>
  116. <plugins>
  117. <!-- 打 springboot 完整包 -->
  118. <!-- <plugin>-->
  119. <!-- <groupId>org.springframework.boot</groupId>-->
  120. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  121. <!-- <version>2.1.5.RELEASE</version>-->
  122. <!-- </plugin>-->
  123. <plugin>
  124. <groupId>org.apache.maven.plugins</groupId>
  125. <artifactId>maven-surefire-plugin</artifactId>
  126. <configuration>
  127. <skipTests>true</skipTests>
  128. </configuration>
  129. </plugin>
  130. <!-- 用于生成source.jar包的plugin -->
  131. <plugin>
  132. <groupId>org.apache.maven.plugins</groupId>
  133. <artifactId>maven-source-plugin</artifactId>
  134. <executions>
  135. <execution>
  136. <id>attach-sources</id>
  137. <phase>verify</phase>
  138. <goals>
  139. <goal>jar-no-fork</goal>
  140. </goals>
  141. </execution>
  142. </executions>
  143. </plugin>
  144. <!-- 用于生成jar包的plugin -->
  145. <plugin>
  146. <groupId>org.apache.maven.plugins</groupId>
  147. <artifactId>maven-jar-plugin</artifactId>
  148. <configuration>
  149. <excludes>
  150. <exclude>config/application.yaml</exclude>
  151. <exclude>config/application-dev.yaml</exclude>
  152. <exclude>config/application-prod.yaml</exclude>
  153. </excludes>
  154. </configuration>
  155. </plugin>
  156. </plugins>
  157. </build>
  158. <distributionManagement>
  159. <repository>
  160. <id>nexus-releases</id>
  161. <name>Nexus Release Repository</name>
  162. <url>http://47.92.149.153:7000/repository/maven-releases/</url>
  163. </repository>
  164. <snapshotRepository>
  165. <id>nexus-snapshots</id>
  166. <name>Nexus Snapshot Repository</name>
  167. <url>http://47.92.149.153:7000/repository/maven-snapshots/</url>
  168. </snapshotRepository>
  169. </distributionManagement>
  170. </project>