2.0重构版本
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

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