2.0重构版本
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
 

213 líneas
8.1 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. <groupId>cc.smtweb</groupId>
  6. <artifactId>sw-framework-core</artifactId>
  7. <version>3.1.0-SNAPSHOT</version>
  8. <parent>
  9. <groupId>org.springframework.boot</groupId>
  10. <artifactId>spring-boot-starter-parent</artifactId>
  11. <version>2.5.6</version>
  12. <relativePath/> <!-- lookup parent from repository -->
  13. </parent>
  14. <modelVersion>4.0.0</modelVersion>
  15. <properties>
  16. <!-- <maven.build.timestamp.format>MMddHH</maven.build.timestamp.format>-->
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <java.version>1.8</java.version>
  20. <maven.compiler.source>1.8</maven.compiler.source>
  21. <maven.compiler.target>1.8</maven.compiler.target>
  22. <skipTests>true</skipTests>
  23. </properties>
  24. <dependencies>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-web</artifactId>
  32. </dependency>
  33. <!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core -->
  34. <dependency>
  35. <groupId>com.fasterxml.jackson.core</groupId>
  36. <artifactId>jackson-core</artifactId>
  37. </dependency>
  38. <!-- 引入jdbc 依赖 -->
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-jdbc</artifactId>
  42. </dependency>
  43. <!--janino,经过测试,强项是动态脚本,作为表达式引擎,性能比不上jexl,暂舍弃
  44. <dependency>
  45. <groupId>org.codehaus.janino</groupId>
  46. <artifactId>janino</artifactId>
  47. <version>3.0.11</version>
  48. </dependency>-->
  49. <!-- Redis Lettuce -->
  50. <dependency>
  51. <groupId>io.lettuce</groupId>
  52. <artifactId>lettuce-core</artifactId>
  53. <version>6.1.5.RELEASE</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.commons</groupId>
  57. <artifactId>commons-pool2</artifactId>
  58. <version>2.11.1</version>
  59. </dependency>
  60. <!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
  61. <dependency>
  62. <groupId>commons-codec</groupId>
  63. <artifactId>commons-codec</artifactId>
  64. <version>1.15</version>
  65. </dependency>
  66. <!-- 将作为Redis对象序列化器 -->
  67. <dependency>
  68. <groupId>com.esotericsoftware</groupId>
  69. <artifactId>kryo</artifactId>
  70. <version>4.0.0</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.projectlombok</groupId>
  74. <artifactId>lombok</artifactId>
  75. <version>1.18.22</version>
  76. </dependency>
  77. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  78. <dependency>
  79. <groupId>org.apache.commons</groupId>
  80. <artifactId>commons-lang3</artifactId>
  81. <version>3.12.0</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.dom4j</groupId>
  85. <artifactId>dom4j</artifactId>
  86. <version>RELEASE</version>
  87. </dependency>
  88. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-jexl3 -->
  89. <dependency>
  90. <groupId>org.apache.commons</groupId>
  91. <artifactId>commons-jexl3</artifactId>
  92. <version>3.2.1</version>
  93. </dependency>
  94. <!-- https://mvnrepository.com/artifact/org.apache.tika/tika-core -->
  95. <dependency>
  96. <groupId>org.apache.tika</groupId>
  97. <artifactId>tika-core</artifactId>
  98. <version>2.1.0</version>
  99. </dependency>
  100. <!-- 本地缓存 -->
  101. <dependency>
  102. <groupId>com.github.ben-manes.caffeine</groupId>
  103. <artifactId>caffeine</artifactId>
  104. </dependency>
  105. <!-- jdbc驱动 -->
  106. <dependency>
  107. <groupId>mysql</groupId>
  108. <artifactId>mysql-connector-java</artifactId>
  109. <version>8.0.27</version>
  110. <scope>runtime</scope>
  111. </dependency>
  112. <dependency>
  113. <groupId>commons-collections</groupId>
  114. <artifactId>commons-collections</artifactId>
  115. <version>3.2.2</version>
  116. <scope>compile</scope>
  117. </dependency>
  118. <!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-launcher -->
  119. <dependency>
  120. <groupId>org.junit.platform</groupId>
  121. <artifactId>junit-platform-launcher</artifactId>
  122. <version>1.6.2</version>
  123. <scope>test</scope>
  124. </dependency>
  125. <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
  126. <dependency>
  127. <groupId>org.junit.jupiter</groupId>
  128. <artifactId>junit-jupiter-api</artifactId>
  129. <version>5.6.2</version>
  130. <scope>test</scope>
  131. </dependency>
  132. <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
  133. <dependency>
  134. <groupId>org.junit.jupiter</groupId>
  135. <artifactId>junit-jupiter-engine</artifactId>
  136. <version>5.6.2</version>
  137. <scope>test</scope>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.junit.vintage</groupId>
  141. <artifactId>junit-vintage-engine</artifactId>
  142. <version>5.6.2</version>
  143. <scope>test</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.junit.jupiter</groupId>
  147. <artifactId>junit-jupiter-params</artifactId>
  148. <version>5.6.2</version>
  149. <scope>test</scope>
  150. </dependency>
  151. <dependency>
  152. <groupId>org.springframework.boot</groupId>
  153. <artifactId>spring-boot-starter-test</artifactId>
  154. <scope>test</scope>
  155. </dependency>
  156. </dependencies>
  157. <build>
  158. <plugins>
  159. <plugin>
  160. <groupId>org.apache.maven.plugins</groupId>
  161. <artifactId>maven-source-plugin</artifactId>
  162. <executions>
  163. <execution>
  164. <id>attach-sources</id>
  165. <phase>verify</phase>
  166. <goals>
  167. <goal>jar-no-fork</goal>
  168. </goals>
  169. </execution>
  170. </executions>
  171. </plugin>
  172. <!-- 用于生成jar包的plugin -->
  173. <plugin>
  174. <groupId>org.apache.maven.plugins</groupId>
  175. <artifactId>maven-jar-plugin</artifactId>
  176. <configuration>
  177. <excludes>
  178. <exclude>config/*.yaml</exclude>
  179. </excludes>
  180. </configuration>
  181. </plugin>
  182. </plugins>
  183. <!-- <resources>-->
  184. <!-- <resources>-->
  185. <!-- <resource>-->
  186. <!-- <filtering>true</filtering>-->
  187. <!-- <directory>src/main/resources</directory>-->
  188. <!-- <excludes>-->
  189. <!-- <exclude>config/*.yaml</exclude>-->
  190. <!-- </excludes>-->
  191. <!-- </resource>-->
  192. <!-- </resources>-->
  193. </build>
  194. <distributionManagement>
  195. <repository>
  196. <id>nexus-releases</id>
  197. <name>Nexus Release Repository</name>
  198. <url>http://47.92.149.153:7000/repository/maven-releases/</url>
  199. </repository>
  200. <snapshotRepository>
  201. <id>nexus-snapshots</id>
  202. <name>Nexus Snapshot Repository</name>
  203. <url>http://47.92.149.153:7000/repository/maven-snapshots/</url>
  204. </snapshotRepository>
  205. </distributionManagement>
  206. </project>