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.
 
 
 
 
 
 

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