pom.xml 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  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>com.microsoft.sqlserver</groupId>
  45. <artifactId>sqljdbc4</artifactId>
  46. <version>4.0</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-web</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-mail</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-test</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-aop</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-actuator</artifactId>
  68. </dependency>
  69. <!-- <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-devtools</artifactId>
  72. <optional>true</optional>
  73. </dependency> -->
  74. <!-- commons -->
  75. <dependency>
  76. <groupId>commons-io</groupId>
  77. <artifactId>commons-io</artifactId>
  78. <version>${commons.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>commons-lang</groupId>
  82. <artifactId>commons-lang</artifactId>
  83. <version>${commons.version}</version>
  84. </dependency>
  85. <!-- freemarker -->
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-freemarker</artifactId>
  89. </dependency>
  90. <!-- Lombok -->
  91. <dependency>
  92. <groupId>org.projectlombok</groupId>
  93. <artifactId>lombok</artifactId>
  94. </dependency>
  95. <!-- mybatis-plus -->
  96. <dependency>
  97. <groupId>com.baomidou</groupId>
  98. <artifactId>mybatis-plus-boot-starter</artifactId>
  99. <version>${mybatis-plus.version}</version>
  100. </dependency>
  101. <!-- druid -->
  102. <dependency>
  103. <groupId>com.alibaba</groupId>
  104. <artifactId>druid-spring-boot-starter</artifactId>
  105. <version>1.1.10</version>
  106. </dependency>
  107. <!-- 动态数据源 -->
  108. <dependency>
  109. <groupId>com.baomidou</groupId>
  110. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  111. <version>2.5.0</version>
  112. </dependency>
  113. <!-- json -->
  114. <dependency>
  115. <groupId>com.alibaba</groupId>
  116. <artifactId>fastjson</artifactId>
  117. <version>1.2.35</version>
  118. </dependency>
  119. <!--mysql-->
  120. <dependency>
  121. <groupId>mysql</groupId>
  122. <artifactId>mysql-connector-java</artifactId>
  123. <scope>runtime</scope>
  124. </dependency>
  125. <!-- Quartz定时任务 -->
  126. <dependency>
  127. <groupId>org.springframework.boot</groupId>
  128. <artifactId>spring-boot-starter-quartz</artifactId>
  129. </dependency>
  130. <!--JWT-->
  131. <dependency>
  132. <groupId>com.auth0</groupId>
  133. <artifactId>java-jwt</artifactId>
  134. <version>3.4.1</version>
  135. </dependency>
  136. <!--shiro-->
  137. <dependency>
  138. <groupId>org.apache.shiro</groupId>
  139. <artifactId>shiro-spring-boot-starter</artifactId>
  140. <version>1.4.0-RC2</version>
  141. </dependency>
  142. <!-- Swagger API文档 -->
  143. <dependency>
  144. <groupId>io.springfox</groupId>
  145. <artifactId>springfox-swagger2</artifactId>
  146. <version>2.9.2</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>io.springfox</groupId>
  150. <artifactId>springfox-swagger-ui</artifactId>
  151. <version>2.9.2</version>
  152. </dependency>
  153. <!-- Redis -->
  154. <dependency>
  155. <groupId>org.springframework.boot</groupId>
  156. <artifactId>spring-boot-starter-data-redis</artifactId>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.apache.commons</groupId>
  160. <artifactId>commons-pool2</artifactId>
  161. </dependency>
  162. <!-- 代码生成器 -->
  163. <dependency>
  164. <groupId>org.jeecgframework.boot</groupId>
  165. <artifactId>codegenerate</artifactId>
  166. <version>1.0.2</version>
  167. </dependency>
  168. <!-- AutoPoi Excel工具类-->
  169. <dependency>
  170. <groupId>org.jeecgframework</groupId>
  171. <artifactId>autopoi-web</artifactId>
  172. <version>1.0.1</version>
  173. </dependency>
  174. <!-- Hibernate -->
  175. <dependency>
  176. <groupId>org.hibernate</groupId>
  177. <artifactId>hibernate-core</artifactId>
  178. <version>4.1.0.Final</version>
  179. <exclusions>
  180. <exclusion>
  181. <groupId>commons-collections</groupId>
  182. <artifactId>commons-collections</artifactId>
  183. </exclusion>
  184. </exclusions>
  185. </dependency>
  186. <!--热部署依赖,生产环境、应用被打成jar包后,自动失效-->
  187. <dependency>
  188. <groupId>org.springframework.boot</groupId>
  189. <artifactId>spring-boot-devtools</artifactId>
  190. <optional>true</optional>
  191. <scope>true</scope>
  192. </dependency>
  193. <!--webService-->
  194. <dependency>
  195. <groupId>org.springframework.boot</groupId>
  196. <artifactId>spring-boot-starter-web</artifactId>
  197. </dependency>
  198. <!--https://mvnrepository.com/artifact/org.apache.cxf/cxf-spring-boot-starter-jaxws-->
  199. <dependency>
  200. <groupId>org.apache.cxf</groupId>
  201. <artifactId>cxf-spring-boot-starter-jaxws</artifactId>
  202. <version>3.2.5</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.hibernate</groupId>
  206. <artifactId>hibernate-validator</artifactId>
  207. <version>5.2.4.Final</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.json</groupId>
  211. <artifactId>json</artifactId>
  212. <version>20160810</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>javax.xml.bind</groupId>
  216. <artifactId>jaxb-api</artifactId>
  217. <version>2.3.0</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>com.sun.xml.bind</groupId>
  221. <artifactId>jaxb-impl</artifactId>
  222. <version>2.3.0</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>com.sun.xml.bind</groupId>
  226. <artifactId>jaxb-core</artifactId>
  227. <version>2.3.0</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>javax.activation</groupId>
  231. <artifactId>activation</artifactId>
  232. <version>1.1.1</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>org.apache.httpcomponents</groupId>
  236. <artifactId>httpclient</artifactId>
  237. <version>4.5.6</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>org.apache.httpcomponents</groupId>
  241. <artifactId>httpcore</artifactId>
  242. <version>4.4.10</version>
  243. </dependency>
  244. </dependencies>
  245. <build>
  246. <plugins>
  247. <plugin>
  248. <groupId>org.springframework.boot</groupId>
  249. <artifactId>spring-boot-maven-plugin</artifactId>
  250. <configuration>
  251. <fork>true</fork>
  252. <addResources>true</addResources>
  253. </configuration>
  254. </plugin>
  255. <!-- 指定JDK编译版本 -->
  256. <plugin>
  257. <groupId>org.apache.maven.plugins</groupId>
  258. <artifactId>maven-compiler-plugin</artifactId>
  259. <configuration>
  260. <source>1.8</source>
  261. <target>1.8</target>
  262. <encoding>UTF-8</encoding>
  263. </configuration>
  264. </plugin>
  265. <!-- 打包跳过测试 -->
  266. <plugin>
  267. <groupId>org.apache.maven.plugins</groupId>
  268. <artifactId>maven-surefire-plugin</artifactId>
  269. <configuration>
  270. <skipTests>true</skipTests>
  271. </configuration>
  272. </plugin>
  273. </plugins>
  274. <resources>
  275. <resource>
  276. <directory>src/main/resources</directory>
  277. <filtering>true</filtering>
  278. </resource>
  279. <resource>
  280. <directory>src/main/java</directory>
  281. <includes>
  282. <include>**/*.xml</include>
  283. <include>**/*.json</include>
  284. <include>**/*.ftl</include>
  285. </includes>
  286. </resource>
  287. </resources>
  288. </build>
  289. </project>