pom.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.4.0</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.miniframe</groupId>
  12. <artifactId>miniframe</artifactId>
  13. <version>1.0.0</version>
  14. <name>miniframe</name>
  15. <description>miniframe</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <timestamp>${maven.build.timestamp}</timestamp>
  20. <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
  21. <maven.resources.overwrite>true</maven.resources.overwrite>
  22. <spring-cloud.version>2020.0.4</spring-cloud.version>
  23. </properties>
  24. <dependencies>
  25. <!-- nacos 依赖 -->
  26. <!-- https://mvnrepository.com/artifact/com.alibaba.cloud/spring-cloud-starter-alibaba-nacos-discovery -->
  27. <!-- <dependency>-->
  28. <!-- <groupId>com.alibaba.cloud</groupId>-->
  29. <!-- <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>-->
  30. <!-- <version>2.2.7.RELEASE</version>-->
  31. <!-- <exclusions>-->
  32. <!-- <exclusion>-->
  33. <!-- <groupId>org.springframework.cloud</groupId>-->
  34. <!-- <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>-->
  35. <!-- </exclusion>-->
  36. <!-- </exclusions>-->
  37. <!-- </dependency>-->
  38. <dependency>
  39. <groupId>org.springframework.cloud</groupId>
  40. <artifactId>spring-cloud-loadbalancer</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.cloud</groupId>
  44. <artifactId>spring-cloud-starter-openfeign</artifactId>
  45. </dependency>
  46. <!-- https://mvnrepository.com/artifact/io.github.openfeign/feign-httpclient -->
  47. <dependency>
  48. <groupId>io.github.openfeign</groupId>
  49. <artifactId>feign-httpclient</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-actuator</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-autoconfigure</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-web</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-configuration-processor</artifactId>
  66. <optional>true</optional>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-aop</artifactId>
  71. </dependency>
  72. <!-- https://mvnrepository.com/artifact/org.springframework/spring-context-support -->
  73. <dependency>
  74. <groupId>org.springframework</groupId>
  75. <artifactId>spring-context-support</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-quartz</artifactId>
  84. </dependency>
  85. <!-- redis缓存 -->
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-data-redis</artifactId>
  89. </dependency>
  90. <!-- ehcache缓存 -->
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-cache</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>net.sf.ehcache</groupId>
  97. <artifactId>ehcache</artifactId>
  98. <version>${ehcache.version}</version>
  99. </dependency>
  100. <!-- RabbitMq -->
  101. <dependency>
  102. <groupId>org.springframework.boot</groupId>
  103. <artifactId>spring-boot-starter-amqp</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.projectlombok</groupId>
  107. <artifactId>lombok</artifactId>
  108. </dependency>
  109. <!-- <dependency>-->
  110. <!-- <groupId>org.springframework.boot</groupId>-->
  111. <!-- <artifactId>spring-boot-starter-validation</artifactId>-->
  112. <!-- </dependency>-->
  113. <!-- 需要指定版本 -->
  114. <!-- miniframe框架 -->
  115. <dependency>
  116. <groupId>com.miniframe</groupId>
  117. <artifactId>miniframe-spring-boot-starter</artifactId>
  118. <version>2.1.0</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.miniframe</groupId>
  122. <artifactId>miniframe-spring-boot-ext</artifactId>
  123. <version>2.1.0</version>
  124. </dependency>
  125. <!--3D库 obj 转gltf -->
  126. <dependency>
  127. <groupId>de.javagl</groupId>
  128. <artifactId>jgltf-obj</artifactId>
  129. <version>2.0.4</version>
  130. </dependency>
  131. <!-- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-core -->
  132. <dependency>
  133. <groupId>com.aliyun</groupId>
  134. <artifactId>aliyun-java-sdk-core</artifactId>
  135. <version>4.5.20</version>
  136. <exclusions>
  137. <exclusion>
  138. <artifactId>commons-logging</artifactId>
  139. <groupId>commons-logging</groupId>
  140. </exclusion>
  141. </exclusions>
  142. </dependency>
  143. <!-- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-cloudauth -->
  144. <dependency>
  145. <groupId>com.aliyun</groupId>
  146. <artifactId>aliyun-java-sdk-cloudauth</artifactId>
  147. <version>2.0.29</version>
  148. <exclusions>
  149. <exclusion>
  150. <artifactId>commons-logging</artifactId>
  151. <groupId>commons-logging</groupId>
  152. </exclusion>
  153. </exclusions>
  154. </dependency>
  155. <!-- https://mvnrepository.com/artifact/com.alipay.sdk/alipay-sdk-java -->
  156. <dependency>
  157. <groupId>com.alipay.sdk</groupId>
  158. <artifactId>alipay-sdk-java</artifactId>
  159. <version>3.4.27.ALL</version>
  160. <exclusions>
  161. <exclusion>
  162. <artifactId>commons-logging</artifactId>
  163. <groupId>commons-logging</groupId>
  164. </exclusion>
  165. </exclusions>
  166. </dependency>
  167. <!-- 自定义lib库 -->
  168. <!-- <dependency>-->
  169. <!-- <groupId>miniframe</groupId>-->
  170. <!-- <artifactId>ibatis</artifactId>-->
  171. <!-- <version>2.9.1</version>-->
  172. <!-- <scope>system</scope>-->
  173. <!-- <systemPath>${project.basedir}/lib/ibatis-2.9.1.jar</systemPath>-->
  174. <!-- </dependency>-->
  175. <dependency>
  176. <groupId>com.taobao</groupId>
  177. <artifactId>taobao-sdk-java-auto</artifactId>
  178. <version>1.0.0</version>
  179. <scope>system</scope>
  180. <systemPath>${project.basedir}/lib/taobao-sdk-java-auto.jar</systemPath>
  181. </dependency>
  182. <!--全局排除spring-boot-starter-logging内的所有依赖-->
  183. <dependency>
  184. <groupId>org.springframework.boot</groupId>
  185. <artifactId>spring-boot-starter-logging</artifactId>
  186. <exclusions>
  187. <exclusion>
  188. <groupId>*</groupId>
  189. <artifactId>*</artifactId>
  190. </exclusion>
  191. </exclusions>
  192. </dependency>
  193. <!--热启动-->
  194. <!-- <dependency>-->
  195. <!-- <groupId>org.springframework.boot</groupId>-->
  196. <!-- <artifactId>spring-boot-devtools</artifactId>-->
  197. <!-- <optional>true</optional> &lt;!&ndash; 这个需要为 true 热部署才有效 &ndash;&gt;-->
  198. <!-- </dependency>-->
  199. <!-- Test-->
  200. <dependency>
  201. <groupId>org.springframework.boot</groupId>
  202. <artifactId>spring-boot-starter-test</artifactId>
  203. <exclusions>
  204. <exclusion>
  205. <groupId>org.ow2.asm</groupId>
  206. <artifactId>asm</artifactId>
  207. </exclusion>
  208. </exclusions>
  209. <scope>test</scope>
  210. </dependency>
  211. <dependency>
  212. <groupId>com.aliyun</groupId>
  213. <artifactId>dysmsapi20170525</artifactId>
  214. <version>2.0.9</version>
  215. </dependency>
  216. <dependency>
  217. <groupId>adi</groupId>
  218. <artifactId>vtk</artifactId>
  219. <version>1.0.0</version>
  220. </dependency>
  221. <!-- websocket -->
  222. <dependency>
  223. <groupId>org.springframework.boot</groupId>
  224. <artifactId>spring-boot-starter-websocket</artifactId>
  225. </dependency>
  226. <!--添加FreeMarker的依赖 ,版本是 2.3.29-->
  227. <dependency>
  228. <groupId>org.freemarker</groupId>
  229. <artifactId>freemarker</artifactId>
  230. <version>2.3.29</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>com.github.docker-java</groupId>
  234. <artifactId>docker-java</artifactId>
  235. <version>3.2.13</version> <!-- 请检查最新版本 -->
  236. </dependency>
  237. <dependency>
  238. <groupId>com.github.docker-java</groupId>
  239. <artifactId>docker-java-transport-httpclient5</artifactId>
  240. <version>3.2.13</version>
  241. </dependency>
  242. </dependencies>
  243. <dependencyManagement>
  244. <dependencies>
  245. <dependency>
  246. <groupId>org.springframework.cloud</groupId>
  247. <artifactId>spring-cloud-dependencies</artifactId>
  248. <version>${spring-cloud.version}</version>
  249. <type>pom</type>
  250. <scope>import</scope>
  251. </dependency>
  252. </dependencies>
  253. </dependencyManagement>
  254. <build>
  255. <resources>
  256. <resource>
  257. <directory>src/main/resources</directory>
  258. <filtering>true</filtering>
  259. </resource>
  260. </resources>
  261. <finalName>service</finalName>
  262. <plugins>
  263. <!-- 指定多个源代码目录、多个资源文件目录 -->
  264. <plugin>
  265. <groupId>org.codehaus.mojo</groupId>
  266. <artifactId>build-helper-maven-plugin</artifactId>
  267. <executions>
  268. <execution>
  269. <id>add-ext-source</id>
  270. <phase>generate-sources</phase>
  271. <goals>
  272. <goal>add-source</goal>
  273. </goals>
  274. <configuration>
  275. <sources>
  276. <source>modelsrc</source>
  277. <source>definitionsrc</source>
  278. <source>generated</source>
  279. </sources>
  280. </configuration>
  281. </execution>
  282. <execution>
  283. <id>add-ext-resouce</id>
  284. <phase>generate-resources</phase>
  285. <goals>
  286. <goal>add-resource</goal>
  287. </goals>
  288. <configuration>
  289. <resources>
  290. <resource>
  291. <directory>modelsrc</directory>
  292. <exclude>**/*.java</exclude>
  293. </resource>
  294. <resource>
  295. <directory>commonsrc</directory>
  296. <exclude>**/*.java</exclude>
  297. </resource>
  298. <resource>
  299. <directory>generated</directory>
  300. <exclude>**/*.java</exclude>
  301. </resource>
  302. <resource>
  303. <directory>definitionsrc</directory>
  304. <exclude>**/*.java</exclude>
  305. </resource>
  306. <resource>
  307. <directory>profiles/${profiles.active}</directory>
  308. <exclude>**/*.java</exclude>
  309. </resource>
  310. </resources>
  311. </configuration>
  312. </execution>
  313. </executions>
  314. </plugin>
  315. <plugin>
  316. <groupId>org.springframework.boot</groupId>
  317. <artifactId>spring-boot-maven-plugin</artifactId>
  318. <configuration>
  319. <fork>true</fork>
  320. <addResources>true</addResources>
  321. <includeSystemScope>true</includeSystemScope>
  322. </configuration>
  323. </plugin>
  324. <plugin>
  325. <groupId>org.apache.maven.plugins</groupId>
  326. <artifactId>maven-resources-plugin</artifactId>
  327. <!--使用默认的变量分割符即${} ,覆盖已有的resource文件-->
  328. <configuration>
  329. <useDefaultDelimiters>true</useDefaultDelimiters>
  330. <overwrite>true</overwrite>
  331. </configuration>
  332. </plugin>
  333. </plugins>
  334. </build>
  335. <profiles>
  336. <profile>
  337. <!-- 生产环境 -->
  338. <id>pro</id>
  339. <properties>
  340. <profiles.active>pro</profiles.active>
  341. </properties>
  342. </profile>
  343. <profile>
  344. <!-- 本地开发环境 -->
  345. <id>dev</id>
  346. <properties>
  347. <profiles.active>dev</profiles.active>
  348. </properties>
  349. <activation>
  350. <activeByDefault>true</activeByDefault>
  351. </activation>
  352. </profile>
  353. <profile>
  354. <!-- 测试环境 -->
  355. <id>test</id>
  356. <properties>
  357. <profiles.active>test</profiles.active>
  358. </properties>
  359. </profile>
  360. </profiles>
  361. <repositories>
  362. <repository>
  363. <id>aliyun</id>
  364. <name>aliyun</name>
  365. <url>https://maven.aliyun.com/repository/public</url>
  366. </repository>
  367. <repository>
  368. <id>spring</id>
  369. <url>https://maven.aliyun.com/repository/spring</url>
  370. <releases>
  371. <enabled>true</enabled>
  372. </releases>
  373. <snapshots>
  374. <enabled>true</enabled>
  375. </snapshots>
  376. </repository>
  377. <repository>
  378. <id>spring-plugin</id>
  379. <url>https://maven.aliyun.com/repository/spring-plugin</url>
  380. <releases>
  381. <enabled>true</enabled>
  382. </releases>
  383. <snapshots>
  384. <enabled>true</enabled>
  385. </snapshots>
  386. </repository>
  387. </repositories>
  388. </project>