pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  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>com.platform</groupId>
  5. <artifactId>platform</artifactId>
  6. <version>1.0.0</version>
  7. <packaging>pom</packaging>
  8. <description>platform</description>
  9. <modules>
  10. <module>platform-common</module> <!-- 公共模块 -->
  11. <module>platform-schedule</module> <!-- 定时任务模块 -->
  12. <module>platform-gen</module> <!-- 代码生成器模块 -->
  13. <module>platform-api</module> <!-- API模块 -->
  14. <module>platform-framework</module>
  15. <module>platform-admin</module>
  16. <module>platform-shop</module>
  17. <module>platform-mp</module><!-- 微信公众号模版 -->
  18. </modules>
  19. <properties>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <server.port>8080</server.port>
  22. <java-version>11</java-version>
  23. <servlet-version>3.1.0</servlet-version>
  24. <junit-version>4.12</junit-version>
  25. <springframework-version>4.3.7.RELEASE</springframework-version>
  26. <mysql-version>8.0.11</mysql-version>
  27. <hibernate-validator-version>5.4.1.Final</hibernate-validator-version>
  28. <druid-version>1.0.28</druid-version>
  29. <commons-lang-version>2.6</commons-lang-version>
  30. <commons-fileupload-version>1.3.3</commons-fileupload-version>
  31. <commons-io-version>2.5</commons-io-version>
  32. <commons-codec-version>1.10</commons-codec-version>
  33. <commons-configuration-version>1.10</commons-configuration-version>
  34. <slf4j-version>1.7.19</slf4j-version>
  35. <log4j-version>1.2.17</log4j-version>
  36. <fastjson-version>1.2.83</fastjson-version>
  37. <shiro-version>1.12.0</shiro-version>
  38. <velocity-version>1.7</velocity-version>
  39. <velocity-tools-version>2.0</velocity-tools-version>
  40. <jstl-version>1.2</jstl-version>
  41. <taglibs-version>1.1.2</taglibs-version>
  42. <freemarker-version>2.3.23</freemarker-version>
  43. <kaptcha.version>2.3.2</kaptcha.version>
  44. <j2cache.version>2.7.2-release</j2cache.version>
  45. <ehcache.version>2.10.4</ehcache.version>
  46. <jgroups.version>3.6.13.Final</jgroups.version>
  47. <weixin-java-mp.version>4.2.0</weixin-java-mp.version>
  48. <lombok.version>1.18.4</lombok.version>
  49. <mybatis-plus.version>3.1.0</mybatis-plus.version>
  50. <alipay-sdk.version>3.6.0.ALL</alipay-sdk.version>
  51. <qcloudsms.version>1.0.6</qcloudsms.version>
  52. </properties>
  53. <!-- 阿里云maven仓库 -->
  54. <repositories>
  55. <repository>
  56. <id>public</id>
  57. <name>aliyun nexus</name>
  58. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  59. <releases>
  60. <enabled>true</enabled>
  61. </releases>
  62. </repository>
  63. </repositories>
  64. <pluginRepositories>
  65. <pluginRepository>
  66. <id>public</id>
  67. <name>aliyun nexus</name>
  68. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  69. <releases>
  70. <enabled>true</enabled>
  71. </releases>
  72. <snapshots>
  73. <enabled>false</enabled>
  74. </snapshots>
  75. </pluginRepository>
  76. </pluginRepositories>
  77. <dependencies>
  78. <dependency>
  79. <groupId>junit</groupId>
  80. <artifactId>junit</artifactId>
  81. <version>${junit-version}</version>
  82. <scope>test</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>javax.servlet</groupId>
  86. <artifactId>javax.servlet-api</artifactId>
  87. <version>${servlet-version}</version>
  88. <scope>provided</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.hibernate</groupId>
  92. <artifactId>hibernate-validator</artifactId>
  93. <version>${hibernate-validator-version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.springframework</groupId>
  97. <artifactId>spring-webmvc</artifactId>
  98. <version>${springframework-version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.springframework</groupId>
  102. <artifactId>spring-jdbc</artifactId>
  103. <version>${springframework-version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>org.springframework</groupId>
  107. <artifactId>spring-context-support</artifactId>
  108. <version>${springframework-version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.springframework</groupId>
  112. <artifactId>spring-aop</artifactId>
  113. <version>${springframework-version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.springframework</groupId>
  117. <artifactId>spring-aspects</artifactId>
  118. <version>${springframework-version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework</groupId>
  122. <artifactId>spring-test</artifactId>
  123. <version>${springframework-version}</version>
  124. <scope>test</scope>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.slf4j</groupId>
  128. <artifactId>slf4j-api</artifactId>
  129. <version>${slf4j-version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.slf4j</groupId>
  133. <artifactId>slf4j-log4j12</artifactId>
  134. <version>${slf4j-version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>log4j</groupId>
  138. <artifactId>log4j</artifactId>
  139. <version>${log4j-version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>mysql</groupId>
  143. <artifactId>mysql-connector-java</artifactId>
  144. <version>${mysql-version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.alibaba</groupId>
  148. <artifactId>druid</artifactId>
  149. <version>${druid-version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>commons-lang</groupId>
  153. <artifactId>commons-lang</artifactId>
  154. <version>${commons-lang-version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>commons-fileupload</groupId>
  158. <artifactId>commons-fileupload</artifactId>
  159. <version>${commons-fileupload-version}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>commons-io</groupId>
  163. <artifactId>commons-io</artifactId>
  164. <version>${commons-io-version}</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.alibaba</groupId>
  168. <artifactId>fastjson</artifactId>
  169. <version>${fastjson-version}</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>commons-codec</groupId>
  173. <artifactId>commons-codec</artifactId>
  174. <version>${commons-codec-version}</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>commons-configuration</groupId>
  178. <artifactId>commons-configuration</artifactId>
  179. <version>${commons-configuration-version}</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.apache.shiro</groupId>
  183. <artifactId>shiro-core</artifactId>
  184. <version>${shiro-version}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.apache.shiro</groupId>
  188. <artifactId>shiro-spring</artifactId>
  189. <version>${shiro-version}</version>
  190. </dependency>
  191. <!-- Velocity视图所需jar -->
  192. <dependency>
  193. <artifactId>velocity</artifactId>
  194. <groupId>org.apache.velocity</groupId>
  195. <version>${velocity-version}</version>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.apache.velocity</groupId>
  199. <artifactId>velocity-tools</artifactId>
  200. <version>${velocity-tools-version}</version>
  201. <exclusions>
  202. <exclusion>
  203. <artifactId>dom4j</artifactId>
  204. <groupId>dom4j</groupId>
  205. </exclusion>
  206. <exclusion>
  207. <artifactId>oro</artifactId>
  208. <groupId>oro</groupId>
  209. </exclusion>
  210. <exclusion>
  211. <artifactId>sslext</artifactId>
  212. <groupId>sslext</groupId>
  213. </exclusion>
  214. <exclusion>
  215. <artifactId>struts-core</artifactId>
  216. <groupId>org.apache.struts</groupId>
  217. </exclusion>
  218. <exclusion>
  219. <artifactId>struts-taglib</artifactId>
  220. <groupId>org.apache.struts</groupId>
  221. </exclusion>
  222. <exclusion>
  223. <artifactId>struts-tiles</artifactId>
  224. <groupId>org.apache.struts</groupId>
  225. </exclusion>
  226. <exclusion>
  227. <artifactId>commons-beanutils</artifactId>
  228. <groupId>commons-beanutils</groupId>
  229. </exclusion>
  230. <exclusion>
  231. <artifactId>commons-chain</artifactId>
  232. <groupId>commons-chain</groupId>
  233. </exclusion>
  234. <exclusion>
  235. <artifactId>commons-collections</artifactId>
  236. <groupId>commons-collections</groupId>
  237. </exclusion>
  238. </exclusions>
  239. </dependency>
  240. <!-- JSP视图所需jar -->
  241. <dependency>
  242. <groupId>jstl</groupId>
  243. <artifactId>jstl</artifactId>
  244. <version>${jstl-version}</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>taglibs</groupId>
  248. <artifactId>standard</artifactId>
  249. <version>${taglibs-version}</version>
  250. </dependency>
  251. <!-- Freemarker视图所需jar -->
  252. <dependency>
  253. <groupId>org.freemarker</groupId>
  254. <artifactId>freemarker</artifactId>
  255. <version>${freemarker-version}</version>
  256. </dependency>
  257. <!--验证码生成工具-->
  258. <dependency>
  259. <groupId>com.github.penggle</groupId>
  260. <artifactId>kaptcha</artifactId>
  261. <version>${kaptcha.version}</version>
  262. </dependency>
  263. <dependency>
  264. <groupId>net.oschina.j2cache</groupId>
  265. <artifactId>j2cache-core</artifactId>
  266. <version>${j2cache.version}</version>
  267. </dependency>
  268. <dependency><!-- Ehcache 2.x //-->
  269. <groupId>net.sf.ehcache</groupId>
  270. <artifactId>ehcache</artifactId>
  271. <version>${ehcache.version}</version>
  272. </dependency>
  273. <dependency>
  274. <groupId>org.jgroups</groupId>
  275. <artifactId>jgroups</artifactId>
  276. <version>${jgroups.version}</version>
  277. </dependency>
  278. <!-- lombok可使代码更简洁 -->
  279. <dependency>
  280. <groupId>org.projectlombok</groupId>
  281. <artifactId>lombok</artifactId>
  282. <version>${lombok.version}</version>
  283. <scope>provided</scope>
  284. </dependency>
  285. <dependency>
  286. <groupId>com.baomidou</groupId>
  287. <artifactId>mybatis-plus</artifactId>
  288. <version>${mybatis-plus.version}</version>
  289. </dependency>
  290. <!-- https://mvnrepository.com/artifact/com.alipay.sdk/alipay-sdk-java -->
  291. <dependency>
  292. <groupId>com.alipay.sdk</groupId>
  293. <artifactId>alipay-sdk-java</artifactId>
  294. <version>${alipay-sdk.version}</version>
  295. </dependency>
  296. <!-- https://mvnrepository.com/artifact/jakarta.annotation/jakarta.annotation-api -->
  297. <dependency>
  298. <groupId>jakarta.annotation</groupId>
  299. <artifactId>jakarta.annotation-api</artifactId>
  300. <version>1.3.5</version>
  301. </dependency>
  302. <!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver -->
  303. <dependency>
  304. <groupId>org.aspectj</groupId>
  305. <artifactId>aspectjweaver</artifactId>
  306. <version>1.9.19</version>
  307. </dependency>
  308. <!-- https://mvnrepository.com/artifact/org.aspectj/aspectjrt -->
  309. <dependency>
  310. <groupId>org.aspectj</groupId>
  311. <artifactId>aspectjrt</artifactId>
  312. <version>1.9.19</version>
  313. </dependency>
  314. </dependencies>
  315. <build>
  316. <plugins>
  317. <plugin>
  318. <groupId>org.apache.maven.plugins</groupId>
  319. <artifactId>maven-compiler-plugin</artifactId>
  320. <version>3.8.1</version>
  321. <configuration>
  322. <source>11</source>
  323. <target>11</target>
  324. </configuration>
  325. </plugin>
  326. <plugin>
  327. <artifactId>maven-war-plugin</artifactId>
  328. <version>3.2.3</version>
  329. <configuration>
  330. <warSourceDirectory>src/main/webapp</warSourceDirectory>
  331. <failOnMissingWebXml>false</failOnMissingWebXml>
  332. </configuration>
  333. </plugin>
  334. <plugin>
  335. <groupId>org.apache.maven.plugins</groupId>
  336. <artifactId>maven-resources-plugin</artifactId>
  337. <version>3.2.0</version>
  338. <configuration>
  339. <encoding>UTF-8</encoding>
  340. </configuration>
  341. </plugin>
  342. <plugin>
  343. <groupId>org.apache.maven.plugins</groupId>
  344. <artifactId>maven-javadoc-plugin</artifactId>
  345. <version>3.2.0</version>
  346. </plugin>
  347. </plugins>
  348. </build>
  349. </project>