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.
 
 
 
 
 
 

203 righe
7.7 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>2.2.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. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-jexl3 -->
  84. <dependency>
  85. <groupId>org.apache.commons</groupId>
  86. <artifactId>commons-jexl3</artifactId>
  87. <version>3.2.1</version>
  88. </dependency>
  89. <!-- https://mvnrepository.com/artifact/org.apache.tika/tika-core -->
  90. <dependency>
  91. <groupId>org.apache.tika</groupId>
  92. <artifactId>tika-core</artifactId>
  93. <version>2.1.0</version>
  94. </dependency>
  95. <!-- 本地缓存 -->
  96. <dependency>
  97. <groupId>com.github.ben-manes.caffeine</groupId>
  98. <artifactId>caffeine</artifactId>
  99. </dependency>
  100. <!-- jdbc驱动 -->
  101. <dependency>
  102. <groupId>mysql</groupId>
  103. <artifactId>mysql-connector-java</artifactId>
  104. <version>8.0.27</version>
  105. <scope>runtime</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>commons-collections</groupId>
  109. <artifactId>commons-collections</artifactId>
  110. <version>3.2.2</version>
  111. <scope>compile</scope>
  112. </dependency>
  113. <!-- https://mvnrepository.com/artifact/org.junit.platform/junit-platform-launcher -->
  114. <dependency>
  115. <groupId>org.junit.platform</groupId>
  116. <artifactId>junit-platform-launcher</artifactId>
  117. <version>1.6.2</version>
  118. <scope>test</scope>
  119. </dependency>
  120. <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
  121. <dependency>
  122. <groupId>org.junit.jupiter</groupId>
  123. <artifactId>junit-jupiter-api</artifactId>
  124. <version>5.6.2</version>
  125. <scope>test</scope>
  126. </dependency>
  127. <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
  128. <dependency>
  129. <groupId>org.junit.jupiter</groupId>
  130. <artifactId>junit-jupiter-engine</artifactId>
  131. <version>5.6.2</version>
  132. <scope>test</scope>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.junit.vintage</groupId>
  136. <artifactId>junit-vintage-engine</artifactId>
  137. <version>5.6.2</version>
  138. <scope>test</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.junit.jupiter</groupId>
  142. <artifactId>junit-jupiter-params</artifactId>
  143. <version>5.6.2</version>
  144. <scope>test</scope>
  145. </dependency>
  146. </dependencies>
  147. <build>
  148. <plugins>
  149. <plugin>
  150. <groupId>org.apache.maven.plugins</groupId>
  151. <artifactId>maven-source-plugin</artifactId>
  152. <executions>
  153. <execution>
  154. <id>attach-sources</id>
  155. <phase>verify</phase>
  156. <goals>
  157. <goal>jar-no-fork</goal>
  158. </goals>
  159. </execution>
  160. </executions>
  161. </plugin>
  162. <!-- 用于生成jar包的plugin -->
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-jar-plugin</artifactId>
  166. <configuration>
  167. <excludes>
  168. <exclude>config/*.yaml</exclude>
  169. </excludes>
  170. </configuration>
  171. </plugin>
  172. </plugins>
  173. <!-- <resources>-->
  174. <!-- <resources>-->
  175. <!-- <resource>-->
  176. <!-- <filtering>true</filtering>-->
  177. <!-- <directory>src/main/resources</directory>-->
  178. <!-- <excludes>-->
  179. <!-- <exclude>config/*.yaml</exclude>-->
  180. <!-- </excludes>-->
  181. <!-- </resource>-->
  182. <!-- </resources>-->
  183. </build>
  184. <distributionManagement>
  185. <repository>
  186. <id>nexus-releases</id>
  187. <name>Nexus Release Repository</name>
  188. <url>http://47.92.149.153:7000/repository/maven-releases/</url>
  189. </repository>
  190. <snapshotRepository>
  191. <id>nexus-snapshots</id>
  192. <name>Nexus Snapshot Repository</name>
  193. <url>http://47.92.149.153:7000/repository/maven-snapshots/</url>
  194. </snapshotRepository>
  195. </distributionManagement>
  196. </project>