pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>org.jeecgframework.boot</groupId>
  5. <artifactId>jeecg-boot-parent</artifactId>
  6. <version>3.6.3</version>
  7. <packaging>pom</packaging>
  8. <name>JEECG BOOT ${project.version}</name>
  9. <scm>
  10. <connection>http://www.jeecg.com</connection>
  11. <developerConnection>http://guojusoft.com</developerConnection>
  12. <url>http://www.jeecg.com/vip</url>
  13. </scm>
  14. <parent>
  15. <groupId>org.springframework.boot</groupId>
  16. <artifactId>spring-boot-starter-parent</artifactId>
  17. <version>2.7.18</version>
  18. <relativePath/>
  19. </parent>
  20. <properties>
  21. <jeecgboot.version>3.6.3</jeecgboot.version>
  22. <java.version>1.8</java.version>
  23. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  24. <fastjson.version>1.2.83</fastjson.version>
  25. <knife4j-spring-boot-starter.version>4.4.0</knife4j-spring-boot-starter.version>
  26. <mysql-connector-java.version>8.0.27</mysql-connector-java.version>
  27. <hutool.version>5.8.25</hutool.version>
  28. <!-- 持久层 -->
  29. <mybatis-plus.version>3.5.3.1</mybatis-plus.version>
  30. <dynamic-datasource-spring-boot-starter.version>4.1.3</dynamic-datasource-spring-boot-starter.version>
  31. <commons-io.version>2.11.0</commons-io.version>
  32. <commons.version>2.6</commons.version>
  33. <!-- shiro -->
  34. <shiro.version>1.12.0</shiro.version>
  35. <java-jwt.version>3.11.0</java-jwt.version>
  36. <shiro-redis.version>3.2.2</shiro-redis.version>
  37. <minio.version>8.0.3</minio.version>
  38. <justauth-spring-boot-starter.version>1.4.0</justauth-spring-boot-starter.version>
  39. <dom4j.version>1.6.1</dom4j.version>
  40. <freemarker.version>2.3.32</freemarker.version>
  41. <junit.version>4.12</junit.version>
  42. <commons-codec.version>1.15</commons-codec.version>
  43. <fastjson-lib.version>1.2.83</fastjson-lib.version>
  44. <gson.version>2.8.6</gson.version>
  45. <json-lib.version>2.4</json-lib.version>
  46. <slf4j.version>1.7.30</slf4j.version>
  47. <jdom.version>1.1</jdom.version>
  48. <zxing.version>3.3.1</zxing.version>
  49. <aliyun-java-sdk-dysmsapi.version>2.1.0</aliyun-java-sdk-dysmsapi.version>
  50. <aliyun.oss.version>3.17.4</aliyun.oss.version>
  51. </properties>
  52. <modules>
  53. <module>jeecg-boot-base-core</module>
  54. <module>jeecg-module-system</module>
  55. <module>jeewx-api</module>
  56. <module>jeecg-boot-starter-rabbitmq</module>
  57. <module>jeecg-boot-common</module>
  58. </modules>
  59. <repositories>
  60. <repository>
  61. <id>aliyun</id>
  62. <name>aliyun Repository</name>
  63. <url>https://maven.aliyun.com/repository/public</url>
  64. <snapshots>
  65. <enabled>false</enabled>
  66. </snapshots>
  67. </repository>
  68. <repository>
  69. <id>jeecg</id>
  70. <name>jeecg Repository</name>
  71. <url>https://maven.jeecg.org/nexus/content/repositories/jeecg</url>
  72. <snapshots>
  73. <enabled>true</enabled>
  74. </snapshots>
  75. </repository>
  76. <repository>
  77. <id>jeecg-snapshots</id>
  78. <name>jeecg-snapshots Repository</name>
  79. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  80. <releases>
  81. <enabled>false</enabled>
  82. </releases>
  83. <snapshots>
  84. <enabled>true</enabled>
  85. </snapshots>
  86. </repository>
  87. </repositories>
  88. <dependencies>
  89. <dependency>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-starter-test</artifactId>
  92. <scope>test</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>top.minwk</groupId>
  96. <artifactId>excel-x</artifactId>
  97. <version>2.4.3</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>junit</groupId>
  101. <artifactId>junit</artifactId>
  102. <scope>test</scope>
  103. </dependency>
  104. <!-- Lombok -->
  105. <dependency>
  106. <groupId>org.projectlombok</groupId>
  107. <artifactId>lombok</artifactId>
  108. </dependency>
  109. <!-- json -->
  110. <dependency>
  111. <groupId>com.alibaba</groupId>
  112. <artifactId>fastjson</artifactId>
  113. <version>${fastjson.version}</version>
  114. </dependency>
  115. </dependencies>
  116. <dependencyManagement>
  117. <dependencies>
  118. <!-- system 模块-->
  119. <dependency>
  120. <groupId>org.jeecgframework.boot</groupId>
  121. <artifactId>jeecg-system-biz</artifactId>
  122. <version>${jeecgboot.version}</version>
  123. </dependency>
  124. <!-- jeecg tools -->
  125. <dependency>
  126. <groupId>org.jeecgframework.boot</groupId>
  127. <artifactId>jeecg-boot-common</artifactId>
  128. <version>${jeecgboot.version}</version>
  129. </dependency>
  130. <!-- jeecg core -->
  131. <dependency>
  132. <groupId>org.jeecgframework.boot</groupId>
  133. <artifactId>jeecg-boot-base-core</artifactId>
  134. <version>${jeecgboot.version}</version>
  135. </dependency>
  136. <!-- system 单体 api -->
  137. <dependency>
  138. <groupId>org.jeecgframework.boot</groupId>
  139. <artifactId>jeecg-system-local-api</artifactId>
  140. <version>${jeecgboot.version}</version>
  141. </dependency>
  142. <!--rabbitmq消息队列-->
  143. <dependency>
  144. <groupId>org.jeecgframework.boot</groupId>
  145. <artifactId>jeecg-boot-starter-rabbitmq</artifactId>
  146. <version>${jeecgboot.version}</version>
  147. </dependency>
  148. <!-- dom4j -->
  149. <dependency>
  150. <groupId>dom4j</groupId>
  151. <artifactId>dom4j</artifactId>
  152. <version>${dom4j.version}</version>
  153. </dependency>
  154. <!-- fileupload -->
  155. <dependency>
  156. <groupId>commons-fileupload</groupId>
  157. <artifactId>commons-fileupload</artifactId>
  158. <version>1.5</version>
  159. <exclusions>
  160. <exclusion>
  161. <artifactId>commons-io</artifactId>
  162. <groupId>commons-io</groupId>
  163. </exclusion>
  164. </exclusions>
  165. </dependency>
  166. <!-- justauth第三方登录 -->
  167. <dependency>
  168. <groupId>com.xkcoding.justauth</groupId>
  169. <artifactId>justauth-spring-boot-starter</artifactId>
  170. <version>${justauth-spring-boot-starter.version}</version>
  171. <exclusions>
  172. <exclusion>
  173. <artifactId>hutool-core</artifactId>
  174. <groupId>cn.hutool</groupId>
  175. </exclusion>
  176. <exclusion>
  177. <artifactId>fastjson</artifactId>
  178. <groupId>com.alibaba</groupId>
  179. </exclusion>
  180. </exclusions>
  181. </dependency>
  182. <dependency>
  183. <groupId>com.squareup.okhttp3</groupId>
  184. <artifactId>okhttp</artifactId>
  185. <version>4.4.1</version>
  186. </dependency>
  187. <!-- hutool工具类-->
  188. <dependency>
  189. <groupId>cn.hutool</groupId>
  190. <artifactId>hutool-all</artifactId>
  191. <version>${hutool.version}</version>
  192. </dependency>
  193. <dependency>
  194. <groupId>cn.hutool</groupId>
  195. <artifactId>hutool-crypto</artifactId>
  196. <version>${hutool.version}</version>
  197. </dependency>
  198. <!--minio-->
  199. <dependency>
  200. <groupId>io.minio</groupId>
  201. <artifactId>minio</artifactId>
  202. <version>${minio.version}</version>
  203. <exclusions>
  204. <exclusion>
  205. <artifactId>okio</artifactId>
  206. <groupId>com.squareup.okio</groupId>
  207. </exclusion>
  208. <exclusion>
  209. <artifactId>okhttp</artifactId>
  210. <groupId>com.squareup.okhttp3</groupId>
  211. </exclusion>
  212. </exclusions>
  213. </dependency>
  214. <!-- 企业微信和钉钉 api -->
  215. <dependency>
  216. <groupId>org.jeecgframework</groupId>
  217. <artifactId>jeewx-api</artifactId>
  218. <version>1.5.2</version>
  219. <exclusions>
  220. <exclusion>
  221. <artifactId>commons-beanutils</artifactId>
  222. <groupId>commons-beanutils</groupId>
  223. </exclusion>
  224. <exclusion>
  225. <artifactId>commons-lang</artifactId>
  226. <groupId>commons-lang</groupId>
  227. </exclusion>
  228. <exclusion>
  229. <artifactId>commons-collections</artifactId>
  230. <groupId>commons-collections</groupId>
  231. </exclusion>
  232. <exclusion>
  233. <artifactId>commons-logging</artifactId>
  234. <groupId>commons-logging</groupId>
  235. </exclusion>
  236. <exclusion>
  237. <artifactId>commons-io</artifactId>
  238. <groupId>commons-io</groupId>
  239. </exclusion>
  240. </exclusions>
  241. </dependency>
  242. <dependency>
  243. <groupId>com.aliyun.oss</groupId>
  244. <artifactId>aliyun-sdk-oss</artifactId>
  245. <version>${aliyun.oss.version}</version>
  246. </dependency>
  247. </dependencies>
  248. </dependencyManagement>
  249. <build>
  250. <finalName>middle</finalName>
  251. <plugins>
  252. <!-- 指定JDK编译版本 -->
  253. <plugin>
  254. <groupId>org.apache.maven.plugins</groupId>
  255. <artifactId>maven-compiler-plugin</artifactId>
  256. <configuration>
  257. <source>${java.version}</source>
  258. <target>${java.version}</target>
  259. <encoding>UTF-8</encoding>
  260. </configuration>
  261. </plugin>
  262. <!-- 打包跳过测试 -->
  263. <plugin>
  264. <groupId>org.apache.maven.plugins</groupId>
  265. <artifactId>maven-surefire-plugin</artifactId>
  266. <configuration>
  267. <skipTests>true</skipTests>
  268. </configuration>
  269. </plugin>
  270. <!-- 避免font文件的二进制文件格式压缩破坏 -->
  271. <plugin>
  272. <groupId>org.apache.maven.plugins</groupId>
  273. <artifactId>maven-resources-plugin</artifactId>
  274. <version>3.1.0</version>
  275. <configuration>
  276. <encoding>UTF-8</encoding>
  277. <nonFilteredFileExtensions>
  278. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  279. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  280. <nonFilteredFileExtension>eot</nonFilteredFileExtension>
  281. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  282. <nonFilteredFileExtension>svg</nonFilteredFileExtension>
  283. <nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
  284. </nonFilteredFileExtensions>
  285. </configuration>
  286. </plugin>
  287. </plugins>
  288. <resources>
  289. <resource>
  290. <directory>src/main/resources</directory>
  291. <filtering>false</filtering>
  292. </resource>
  293. <resource>
  294. <directory>src/main/java</directory>
  295. <includes>
  296. <include>**/*.xml</include>
  297. <include>**/*.json</include>
  298. <include>**/*.ftl</include>
  299. </includes>
  300. </resource>
  301. </resources>
  302. </build>
  303. <distributionManagement>
  304. <repository>
  305. <id>jeecg</id>
  306. <name>jeecg Repository</name>
  307. <url>http://maven.jeecg.com:8090/nexus/content/repositories/jeecg</url>
  308. </repository>
  309. <snapshotRepository>
  310. <id>jeecg-snapshots</id>
  311. <name>jeecg Snapshot Repository</name>
  312. <url>http://maven.jeecg.com:8090/nexus/content/repositories/snapshots/</url>
  313. </snapshotRepository>
  314. </distributionManagement>
  315. <!-- 环境 -->
  316. <profiles>
  317. <!-- 开发 -->
  318. <profile>
  319. <id>dev</id>
  320. <activation>
  321. <!--默认激活配置-->
  322. <activeByDefault>true</activeByDefault>
  323. </activation>
  324. <properties>
  325. <profile.name>dev</profile.name>
  326. </properties>
  327. </profile>
  328. <!-- 测试 -->
  329. <profile>
  330. <id>test</id>
  331. <properties>
  332. <profile.name>test</profile.name>
  333. </properties>
  334. </profile>
  335. <!-- 生产 -->
  336. <profile>
  337. <id>prod</id>
  338. <properties>
  339. <profile.name>prod</profile.name>
  340. </properties>
  341. </profile>
  342. </profiles>
  343. </project>