2.0重构版本
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

182 rivejä
7.0 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. <dependency>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-starter-test</artifactId>
  117. <scope>test</scope>
  118. </dependency>
  119. </dependencies>
  120. <build>
  121. <plugins>
  122. <!-- 打 springboot 完整包 -->
  123. <!-- <plugin>-->
  124. <!-- <groupId>org.springframework.boot</groupId>-->
  125. <!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
  126. <!-- <version>2.1.5.RELEASE</version>-->
  127. <!-- </plugin>-->
  128. <plugin>
  129. <groupId>org.apache.maven.plugins</groupId>
  130. <artifactId>maven-surefire-plugin</artifactId>
  131. <configuration>
  132. <skipTests>true</skipTests>
  133. </configuration>
  134. </plugin>
  135. <!-- 用于生成source.jar包的plugin -->
  136. <plugin>
  137. <groupId>org.apache.maven.plugins</groupId>
  138. <artifactId>maven-source-plugin</artifactId>
  139. <executions>
  140. <execution>
  141. <id>attach-sources</id>
  142. <phase>verify</phase>
  143. <goals>
  144. <goal>jar-no-fork</goal>
  145. </goals>
  146. </execution>
  147. </executions>
  148. </plugin>
  149. <!-- 用于生成jar包的plugin -->
  150. <plugin>
  151. <groupId>org.apache.maven.plugins</groupId>
  152. <artifactId>maven-jar-plugin</artifactId>
  153. <configuration>
  154. <excludes>
  155. <exclude>config/application.yaml</exclude>
  156. <exclude>config/application-dev.yaml</exclude>
  157. <exclude>config/application-prod.yaml</exclude>
  158. </excludes>
  159. </configuration>
  160. </plugin>
  161. </plugins>
  162. </build>
  163. <distributionManagement>
  164. <repository>
  165. <id>nexus-releases</id>
  166. <name>Nexus Release Repository</name>
  167. <url>http://47.92.149.153:7000/repository/maven-releases/</url>
  168. </repository>
  169. <snapshotRepository>
  170. <id>nexus-snapshots</id>
  171. <name>Nexus Snapshot Repository</name>
  172. <url>http://47.92.149.153:7000/repository/maven-snapshots/</url>
  173. </snapshotRepository>
  174. </distributionManagement>
  175. </project>