pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>org.jeecgframework.boot</groupId>
  4. <artifactId>jeecg-boot-parent</artifactId>
  5. <version>2.4.2</version>
  6. <packaging>pom</packaging>
  7. <parent>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-parent</artifactId>
  10. <version>2.1.5.RELEASE</version>
  11. <relativePath/>
  12. </parent>
  13. <properties>
  14. <jeecgboot.version>2.4.2</jeecgboot.version>
  15. <java.version>1.8</java.version>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <spring-cloud.version>Hoxton.SR8</spring-cloud.version>
  18. <spring-cloud-alibaba.version>2.2.3.RELEASE</spring-cloud-alibaba.version>
  19. <xxl-job-core.version>2.2.0</xxl-job-core.version>
  20. <fastjson.version>1.2.75</fastjson.version>
  21. <knife4j-spring-boot-starter.version>2.0.4</knife4j-spring-boot-starter.version>
  22. <knife4j-spring-ui.version>2.0.4</knife4j-spring-ui.version>
  23. <postgresql.version>42.2.6</postgresql.version>
  24. <ojdbc6.version>11.2.0.3</ojdbc6.version>
  25. <sqljdbc4.version>4.0</sqljdbc4.version>
  26. <mysql-connector-java.version>8.0.21</mysql-connector-java.version>
  27. <dynamic-datasource-spring-boot-starter.version>3.2.0</dynamic-datasource-spring-boot-starter.version>
  28. <hutool-all.version>5.3.8</hutool-all.version>
  29. <redisson.version>3.13.6</redisson.version>
  30. <commons-beanutils.version>1.9.4</commons-beanutils.version>
  31. <guava.version>29.0-jre</guava.version>
  32. <mybatis-plus.version>3.4.1</mybatis-plus.version>
  33. <druid.version>1.1.22</druid.version>
  34. <commons.version>2.6</commons.version>
  35. <aliyun-java-sdk-dysmsapi.version>2.1.0</aliyun-java-sdk-dysmsapi.version>
  36. <aliyun.oss.version>3.11.2</aliyun.oss.version>
  37. <shiro.version>1.7.0</shiro.version>
  38. <java-jwt.version>3.11.0</java-jwt.version>
  39. <shiro-redis.version>3.1.0</shiro-redis.version>
  40. <codegenerate.version>1.2.5</codegenerate.version>
  41. <autopoi-web.version>1.2.5</autopoi-web.version>
  42. <minio.version>8.0.3</minio.version>
  43. <justauth-spring-boot-starter.version>1.3.4</justauth-spring-boot-starter.version>
  44. <dom4j.version>1.6.1</dom4j.version>
  45. <qiniu-java-sdk.version>7.4.0</qiniu-java-sdk.version>
  46. </properties>
  47. <modules>
  48. <module>jeecg-boot-base</module>
  49. <module>jeecg-boot-module-demo</module>
  50. <module>jeecg-boot-module-system</module>
  51. <!-- 需要微服务,请打开注释
  52. <module>jeecg-boot-starter</module>
  53. <module>jeecg-cloud-module</module>-->
  54. </modules>
  55. <distributionManagement>
  56. <repository>
  57. <id>jeecg</id>
  58. <name>jeecg Repository</name>
  59. <url>http://maven.jeecg.com:8090/nexus/content/repositories/jeecg</url>
  60. </repository>
  61. <snapshotRepository>
  62. <id>jeecg-snapshots</id>
  63. <name>jeecg Snapshot Repository</name>
  64. <url>http://maven.jeecg.com:8090/nexus/content/repositories/snapshots/</url>
  65. </snapshotRepository>
  66. </distributionManagement>
  67. <repositories>
  68. <repository>
  69. <id>aliyun</id>
  70. <name>aliyun Repository</name>
  71. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  72. <snapshots>
  73. <enabled>false</enabled>
  74. </snapshots>
  75. </repository>
  76. <repository>
  77. <id>jeecg</id>
  78. <name>jeecg Repository</name>
  79. <url>http://maven.jeecg.org/nexus/content/repositories/jeecg</url>
  80. <snapshots>
  81. <enabled>false</enabled>
  82. </snapshots>
  83. </repository>
  84. </repositories>
  85. <dependencies>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-test</artifactId>
  89. <scope>test</scope>
  90. </dependency>
  91. <!-- Lombok -->
  92. <dependency>
  93. <groupId>org.projectlombok</groupId>
  94. <artifactId>lombok</artifactId>
  95. </dependency>
  96. <!-- json -->
  97. <dependency>
  98. <groupId>com.alibaba</groupId>
  99. <artifactId>fastjson</artifactId>
  100. <version>${fastjson.version}</version>
  101. </dependency>
  102. </dependencies>
  103. <dependencyManagement>
  104. <dependencies>
  105. <!-- spring-cloud-->
  106. <dependency>
  107. <groupId>org.springframework.cloud</groupId>
  108. <artifactId>spring-cloud-dependencies</artifactId>
  109. <version>${spring-cloud.version}</version>
  110. <type>pom</type>
  111. <scope>import</scope>
  112. </dependency>
  113. <!-- spring-cloud-alibaba -->
  114. <dependency>
  115. <groupId>com.alibaba.cloud</groupId>
  116. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  117. <version>${spring-cloud-alibaba.version}</version>
  118. <type>pom</type>
  119. <scope>import</scope>
  120. </dependency>
  121. <!-- system 模块-->
  122. <dependency>
  123. <groupId>org.jeecgframework.boot</groupId>
  124. <artifactId>jeecg-boot-module-system</artifactId>
  125. <version>${jeecgboot.version}</version>
  126. </dependency>
  127. <!-- jeecg tools -->
  128. <dependency>
  129. <groupId>org.jeecgframework.boot</groupId>
  130. <artifactId>jeecg-boot-base-tools</artifactId>
  131. <version>${jeecgboot.version}</version>
  132. </dependency>
  133. <!-- jeecg core -->
  134. <dependency>
  135. <groupId>org.jeecgframework.boot</groupId>
  136. <artifactId>jeecg-boot-base-core</artifactId>
  137. <version>${jeecgboot.version}</version>
  138. </dependency>
  139. <!-- system 单体 api -->
  140. <dependency>
  141. <groupId>org.jeecgframework.boot</groupId>
  142. <artifactId>jeecg-system-local-api</artifactId>
  143. <version>${jeecgboot.version}</version>
  144. </dependency>
  145. <!-- system 微服务 api -->
  146. <dependency>
  147. <groupId>org.jeecgframework.boot</groupId>
  148. <artifactId>jeecg-system-cloud-api</artifactId>
  149. <version>${jeecgboot.version}</version>
  150. </dependency>
  151. <!--微服务模块-->
  152. <dependency>
  153. <groupId>org.jeecgframework.boot</groupId>
  154. <artifactId>jeecg-boot-starter-cloud</artifactId>
  155. <version>${jeecgboot.version}</version>
  156. </dependency>
  157. <!--xxl-job定时任务-->
  158. <dependency>
  159. <groupId>org.jeecgframework.boot</groupId>
  160. <artifactId>jeecg-boot-starter-job</artifactId>
  161. <version>${jeecgboot.version}</version>
  162. </dependency>
  163. <!--redis分布式锁-->
  164. <dependency>
  165. <groupId>org.jeecgframework.boot</groupId>
  166. <artifactId>jeecg-boot-starter-lock</artifactId>
  167. <version>${jeecgboot.version}</version>
  168. </dependency>
  169. <!--rabbitmq消息队列-->
  170. <dependency>
  171. <groupId>org.jeecgframework.boot</groupId>
  172. <artifactId>jeecg-boot-starter-rabbitmq</artifactId>
  173. <version>${jeecgboot.version}</version>
  174. </dependency>
  175. <!--redis-->
  176. <dependency>
  177. <groupId>org.jeecgframework.boot</groupId>
  178. <artifactId>jeecg-boot-starter-redis</artifactId>
  179. <version>${jeecgboot.version}</version>
  180. </dependency>
  181. <!-- 七牛云SDK -->
  182. <dependency>
  183. <groupId>com.qiniu</groupId>
  184. <artifactId>qiniu-java-sdk</artifactId>
  185. <version>${qiniu-java-sdk.version}</version>
  186. <exclusions>
  187. <exclusion>
  188. <artifactId>okhttp</artifactId>
  189. <groupId>com.squareup.okhttp3</groupId>
  190. </exclusion>
  191. </exclusions>
  192. </dependency>
  193. <!-- dom4j -->
  194. <dependency>
  195. <groupId>dom4j</groupId>
  196. <artifactId>dom4j</artifactId>
  197. <version>${dom4j.version}</version>
  198. </dependency>
  199. <!-- redisson -->
  200. <dependency>
  201. <groupId>org.redisson</groupId>
  202. <artifactId>redisson</artifactId>
  203. <version>${redisson.version}</version>
  204. </dependency>
  205. <!-- guava工具类 -->
  206. <dependency>
  207. <groupId>com.google.guava</groupId>
  208. <artifactId>guava</artifactId>
  209. <version>${guava.version}</version>
  210. </dependency>
  211. <!-- hutool工具类-->
  212. <dependency>
  213. <groupId>cn.hutool</groupId>
  214. <artifactId>hutool-all</artifactId>
  215. <version>${hutool-all.version}</version>
  216. </dependency>
  217. <!-- commons-beanutils -->
  218. <dependency>
  219. <groupId>commons-beanutils</groupId>
  220. <artifactId>commons-beanutils</artifactId>
  221. <version>${commons-beanutils.version}</version>
  222. </dependency>
  223. <dependency>
  224. <groupId>commons-fileupload</groupId>
  225. <artifactId>commons-fileupload</artifactId>
  226. <version>1.4</version>
  227. <exclusions>
  228. <exclusion>
  229. <artifactId>commons-io</artifactId>
  230. <groupId>commons-io</groupId>
  231. </exclusion>
  232. </exclusions>
  233. </dependency>
  234. <dependency>
  235. <groupId>javax.mail</groupId>
  236. <artifactId>mail</artifactId>
  237. <version>1.4.7</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>org.apache.commons</groupId>
  241. <artifactId>commons-email</artifactId>
  242. <version>1.4</version>
  243. </dependency>
  244. <!-- justauth第三方登录 -->
  245. <dependency>
  246. <groupId>com.xkcoding.justauth</groupId>
  247. <artifactId>justauth-spring-boot-starter</artifactId>
  248. <version>${justauth-spring-boot-starter.version}</version>
  249. <exclusions>
  250. <exclusion>
  251. <artifactId>hutool-core</artifactId>
  252. <groupId>cn.hutool</groupId>
  253. </exclusion>
  254. <exclusion>
  255. <artifactId>fastjson</artifactId>
  256. <groupId>com.alibaba</groupId>
  257. </exclusion>
  258. </exclusions>
  259. </dependency>
  260. <dependency>
  261. <groupId>com.squareup.okhttp3</groupId>
  262. <artifactId>okhttp</artifactId>
  263. <version>4.4.1</version>
  264. </dependency>
  265. <dependency>
  266. <groupId>io.minio</groupId>
  267. <artifactId>minio</artifactId>
  268. <version>${minio.version}</version>
  269. <exclusions>
  270. <exclusion>
  271. <artifactId>okio</artifactId>
  272. <groupId>com.squareup.okio</groupId>
  273. </exclusion>
  274. <exclusion>
  275. <artifactId>okhttp</artifactId>
  276. <groupId>com.squareup.okhttp3</groupId>
  277. </exclusion>
  278. </exclusions>
  279. </dependency>
  280. </dependencies>
  281. </dependencyManagement>
  282. <build>
  283. <plugins>
  284. <!--<plugin>
  285. <groupId>org.springframework.boot</groupId>
  286. <artifactId>spring-boot-maven-plugin</artifactId>
  287. </plugin>-->
  288. <plugin>
  289. <groupId>org.apache.maven.plugins</groupId>
  290. <artifactId>maven-compiler-plugin</artifactId>
  291. <configuration>
  292. <source>1.8</source>
  293. <target>1.8</target>
  294. <encoding>UTF-8</encoding>
  295. </configuration>
  296. </plugin>
  297. <!-- 打包跳过测试 -->
  298. <plugin>
  299. <groupId>org.apache.maven.plugins</groupId>
  300. <artifactId>maven-surefire-plugin</artifactId>
  301. <configuration>
  302. <skipTests>true</skipTests>
  303. </configuration>
  304. </plugin>
  305. <!-- 避免font文件的二进制文件格式压缩破坏 -->
  306. <plugin>
  307. <groupId>org.apache.maven.plugins</groupId>
  308. <artifactId>maven-resources-plugin</artifactId>
  309. <configuration>
  310. <nonFilteredFileExtensions>
  311. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  312. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  313. <nonFilteredFileExtension>eot</nonFilteredFileExtension>
  314. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  315. <nonFilteredFileExtension>svg</nonFilteredFileExtension>
  316. </nonFilteredFileExtensions>
  317. </configuration>
  318. </plugin>
  319. </plugins>
  320. <resources>
  321. <resource>
  322. <directory>src/main/resources</directory>
  323. <filtering>true</filtering>
  324. </resource>
  325. <resource>
  326. <directory>src/main/java</directory>
  327. <includes>
  328. <include>**/*.xml</include>
  329. <include>**/*.json</include>
  330. <include>**/*.ftl</include>
  331. </includes>
  332. </resource>
  333. </resources>
  334. </build>
  335. <!-- 环境 -->
  336. <profiles>
  337. <!-- 开发 -->
  338. <profile>
  339. <id>dev</id>
  340. <activation>
  341. <!--默认激活配置-->
  342. <activeByDefault>true</activeByDefault>
  343. </activation>
  344. <properties>
  345. <!--当前环境-->
  346. <profile.name>dev</profile.name>
  347. <!--配置文件前缀-->
  348. <prefix.name>jeecg</prefix.name>
  349. <!--Nacos配置中心地址-->
  350. <config.server-addr>127.0.0.1:8848</config.server-addr>
  351. <!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
  352. <config.namespace></config.namespace>
  353. <!--Nacos配置分组名称-->
  354. <config.group>DEFAULT_GROUP</config.group>
  355. <!--Nacos服务发现地址-->
  356. <discovery.server-addr>127.0.0.1:8848</discovery.server-addr>
  357. </properties>
  358. </profile>
  359. <!-- 测试 -->
  360. <profile>
  361. <id>test</id>
  362. <properties>
  363. <!--当前环境-->
  364. <profile.name>test</profile.name>
  365. <!--配置文件前缀-->
  366. <prefix.name>jeecg</prefix.name>
  367. <!--Nacos配置中心地址-->
  368. <config.server-addr>127.0.0.1:8848</config.server-addr>
  369. <!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
  370. <config.namespace></config.namespace>
  371. <!--Nacos配置分组名称-->
  372. <config.group>DEFAULT_GROUP</config.group>
  373. <!--Nacos服务发现地址-->
  374. <discovery.server-addr>127.0.0.1:8848</discovery.server-addr>
  375. </properties>
  376. </profile>
  377. <!-- 生产 -->
  378. <profile>
  379. <id>prod</id>
  380. <properties>
  381. <!--当前环境,生产环境为空-->
  382. <profile.name>prod</profile.name>
  383. <!--配置文件前缀-->
  384. <prefix.name>jeecg</prefix.name>
  385. <!--Nacos配置中心地址-->
  386. <config.server-addr>127.0.0.1:8848</config.server-addr>
  387. <!--Nacos配置中心命名空间,用于支持多环境.这里必须使用ID,不能使用名称,默认为空-->
  388. <config.namespace></config.namespace>
  389. <!--Nacos配置分组名称-->
  390. <config.group>DEFAULT_GROUP</config.group>
  391. <!--Nacos服务发现地址-->
  392. <discovery.server-addr>127.0.0.1:8848</discovery.server-addr>
  393. </properties>
  394. </profile>
  395. </profiles>
  396. </project>