pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>org.jeecgframework.boot</groupId>
  6. <artifactId>jeecg-boot</artifactId>
  7. <version>1.1.0</version>
  8. <parent>
  9. <groupId>org.springframework.boot</groupId>
  10. <artifactId>spring-boot-starter-parent</artifactId>
  11. <version>2.0.3.RELEASE</version>
  12. <relativePath/>
  13. </parent>
  14. <repositories>
  15. <repository>
  16. <id>aliyun</id>
  17. <name>aliyun Repository</name>
  18. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  19. <snapshots>
  20. <enabled>false</enabled>
  21. </snapshots>
  22. </repository>
  23. <repository>
  24. <id>jeecg</id>
  25. <name>jeecg Repository</name>
  26. <url>http://maven.jeecg.org/nexus/content/repositories/jeecg</url>
  27. <snapshots>
  28. <enabled>false</enabled>
  29. </snapshots>
  30. </repository>
  31. </repositories>
  32. <properties>
  33. <java.version>1.8</java.version>
  34. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  35. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  36. <mybatis-plus.version>3.1.1</mybatis-plus.version>
  37. <druid.version>1.1.10</druid.version>
  38. <jwt.version>0.9.1</jwt.version>
  39. <commons.version>2.6</commons.version>
  40. </properties>
  41. <dependencies>
  42. <!--集成springmvc框架并实现自动配置 -->
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-web</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-mail</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-test</artifactId>
  54. <scope>test</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-aop</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-actuator</artifactId>
  63. </dependency>
  64. <!-- <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-devtools</artifactId>
  67. <optional>true</optional>
  68. </dependency> -->
  69. <!-- commons -->
  70. <dependency>
  71. <groupId>commons-io</groupId>
  72. <artifactId>commons-io</artifactId>
  73. <version>${commons.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>commons-lang</groupId>
  77. <artifactId>commons-lang</artifactId>
  78. <version>${commons.version}</version>
  79. </dependency>
  80. <!-- freemarker -->
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-freemarker</artifactId>
  84. </dependency>
  85. <!-- Lombok -->
  86. <dependency>
  87. <groupId>org.projectlombok</groupId>
  88. <artifactId>lombok</artifactId>
  89. </dependency>
  90. <!-- mybatis-plus -->
  91. <dependency>
  92. <groupId>com.baomidou</groupId>
  93. <artifactId>mybatis-plus-boot-starter</artifactId>
  94. <version>${mybatis-plus.version}</version>
  95. </dependency>
  96. <!-- druid -->
  97. <dependency>
  98. <groupId>com.alibaba</groupId>
  99. <artifactId>druid-spring-boot-starter</artifactId>
  100. <version>1.1.10</version>
  101. </dependency>
  102. <!-- 动态数据源 -->
  103. <dependency>
  104. <groupId>com.baomidou</groupId>
  105. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  106. <version>2.5.0</version>
  107. </dependency>
  108. <!-- json -->
  109. <dependency>
  110. <groupId>com.alibaba</groupId>
  111. <artifactId>fastjson</artifactId>
  112. <version>1.2.35</version>
  113. </dependency>
  114. <!--mysql-->
  115. <dependency>
  116. <groupId>mysql</groupId>
  117. <artifactId>mysql-connector-java</artifactId>
  118. <scope>runtime</scope>
  119. </dependency>
  120. <!-- Quartz定时任务 -->
  121. <dependency>
  122. <groupId>org.springframework.boot</groupId>
  123. <artifactId>spring-boot-starter-quartz</artifactId>
  124. </dependency>
  125. <!--JWT-->
  126. <dependency>
  127. <groupId>com.auth0</groupId>
  128. <artifactId>java-jwt</artifactId>
  129. <version>3.4.1</version>
  130. </dependency>
  131. <!--shiro-->
  132. <dependency>
  133. <groupId>org.apache.shiro</groupId>
  134. <artifactId>shiro-spring-boot-starter</artifactId>
  135. <version>1.4.0-RC2</version>
  136. </dependency>
  137. <!-- Swagger API文档 -->
  138. <dependency>
  139. <groupId>io.springfox</groupId>
  140. <artifactId>springfox-swagger2</artifactId>
  141. <version>2.9.2</version>
  142. </dependency>
  143. <dependency>
  144. <groupId>io.springfox</groupId>
  145. <artifactId>springfox-swagger-ui</artifactId>
  146. <version>2.9.2</version>
  147. </dependency>
  148. <!-- Redis -->
  149. <dependency>
  150. <groupId>org.springframework.boot</groupId>
  151. <artifactId>spring-boot-starter-data-redis</artifactId>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.apache.commons</groupId>
  155. <artifactId>commons-pool2</artifactId>
  156. </dependency>
  157. <!-- 代码生成器 -->
  158. <dependency>
  159. <groupId>org.jeecgframework.boot</groupId>
  160. <artifactId>codegenerate</artifactId>
  161. <version>1.0.2</version>
  162. </dependency>
  163. <!-- AutoPoi Excel工具类-->
  164. <dependency>
  165. <groupId>org.jeecgframework</groupId>
  166. <artifactId>autopoi-web</artifactId>
  167. <version>1.0.1</version>
  168. </dependency>
  169. <!-- Hibernate -->
  170. <dependency>
  171. <groupId>org.hibernate</groupId>
  172. <artifactId>hibernate-core</artifactId>
  173. <version>4.1.0.Final</version>
  174. <exclusions>
  175. <exclusion>
  176. <groupId>commons-collections</groupId>
  177. <artifactId>commons-collections</artifactId>
  178. </exclusion>
  179. </exclusions>
  180. </dependency>
  181. <!--热部署依赖,生产环境、应用被打成jar包后,自动失效-->
  182. <dependency>
  183. <groupId>org.springframework.boot</groupId>
  184. <artifactId>spring-boot-devtools</artifactId>
  185. <optional>true</optional>
  186. <scope>true</scope>
  187. </dependency>
  188. <dependency>
  189. <groupId>com.squareup.okhttp3</groupId>
  190. <artifactId>okhttp</artifactId>
  191. <version>3.9.1</version>
  192. </dependency>
  193. </dependencies>
  194. <build>
  195. <plugins>
  196. <plugin>
  197. <groupId>org.springframework.boot</groupId>
  198. <artifactId>spring-boot-maven-plugin</artifactId>
  199. <configuration>
  200. <fork>true</fork>
  201. <addResources>true</addResources>
  202. </configuration>
  203. </plugin>
  204. <!-- 指定JDK编译版本 -->
  205. <plugin>
  206. <groupId>org.apache.maven.plugins</groupId>
  207. <artifactId>maven-compiler-plugin</artifactId>
  208. <configuration>
  209. <source>1.8</source>
  210. <target>1.8</target>
  211. <encoding>UTF-8</encoding>
  212. </configuration>
  213. </plugin>
  214. <!-- 打包跳过测试 -->
  215. <plugin>
  216. <groupId>org.apache.maven.plugins</groupId>
  217. <artifactId>maven-surefire-plugin</artifactId>
  218. <configuration>
  219. <skipTests>true</skipTests>
  220. </configuration>
  221. </plugin>
  222. </plugins>
  223. <resources>
  224. <resource>
  225. <directory>src/main/resources</directory>
  226. <filtering>true</filtering>
  227. </resource>
  228. <resource>
  229. <directory>src/main/java</directory>
  230. <includes>
  231. <include>**/*.xml</include>
  232. <include>**/*.json</include>
  233. <include>**/*.ftl</include>
  234. </includes>
  235. </resource>
  236. </resources>
  237. </build>
  238. </project>