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.
 
 
 
 
 
 

208 line
7.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. <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. <dependency>
  147. <groupId>org.springframework.boot</groupId>
  148. <artifactId>spring-boot-starter-test</artifactId>
  149. <scope>test</scope>
  150. </dependency>
  151. </dependencies>
  152. <build>
  153. <plugins>
  154. <plugin>
  155. <groupId>org.apache.maven.plugins</groupId>
  156. <artifactId>maven-source-plugin</artifactId>
  157. <executions>
  158. <execution>
  159. <id>attach-sources</id>
  160. <phase>verify</phase>
  161. <goals>
  162. <goal>jar-no-fork</goal>
  163. </goals>
  164. </execution>
  165. </executions>
  166. </plugin>
  167. <!-- 用于生成jar包的plugin -->
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-jar-plugin</artifactId>
  171. <configuration>
  172. <excludes>
  173. <exclude>config/*.yaml</exclude>
  174. </excludes>
  175. </configuration>
  176. </plugin>
  177. </plugins>
  178. <!-- <resources>-->
  179. <!-- <resources>-->
  180. <!-- <resource>-->
  181. <!-- <filtering>true</filtering>-->
  182. <!-- <directory>src/main/resources</directory>-->
  183. <!-- <excludes>-->
  184. <!-- <exclude>config/*.yaml</exclude>-->
  185. <!-- </excludes>-->
  186. <!-- </resource>-->
  187. <!-- </resources>-->
  188. </build>
  189. <distributionManagement>
  190. <repository>
  191. <id>nexus-releases</id>
  192. <name>Nexus Release Repository</name>
  193. <url>http://47.92.149.153:7000/repository/maven-releases/</url>
  194. </repository>
  195. <snapshotRepository>
  196. <id>nexus-snapshots</id>
  197. <name>Nexus Snapshot Repository</name>
  198. <url>http://47.92.149.153:7000/repository/maven-snapshots/</url>
  199. </snapshotRepository>
  200. </distributionManagement>
  201. </project>