pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.3.3.RELEASE</version>
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.muzhi.zgd</groupId>
  13. <artifactId>zgd</artifactId>
  14. <packaging>jar</packaging>
  15. <version>1.0-SNAPSHOT</version>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. <fastjson.version>1.2.33</fastjson.version>
  19. <gson.version>2.8.2</gson.version>
  20. <json.version>20170516</json.version>
  21. <poi.version>3.17</poi.version>
  22. <jodatime.version>2.10.1</jodatime.version>
  23. <swagger.version>2.7.0</swagger.version>
  24. <commons-fileupload.version>1.3.1</commons-fileupload.version>
  25. <!-- <thymeleaf.version>3.0.2.RELEASE</thymeleaf.version>-->
  26. <!-- 布局功能的支持程序 thymeleaf3主程序 layout2以上版本-->
  27. <!-- <thymeleaf-layout-dialect.version>2.1.1</thymeleaf-layout-dialect.version>-->
  28. </properties>
  29. <repositories>
  30. <repository>
  31. <id>sonatype-nexus-staging</id>
  32. <name>Sonatype Nexus Staging</name>
  33. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  34. <releases>
  35. <enabled>true</enabled>
  36. </releases>
  37. <snapshots>
  38. <enabled>true</enabled>
  39. </snapshots>
  40. </repository>
  41. </repositories>
  42. <dependencies>
  43. <!-- httpClient -->
  44. <dependency>
  45. <groupId>org.apache.httpcomponents</groupId>
  46. <artifactId>httpclient</artifactId>
  47. <version>4.5.2</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.apache.httpcomponents</groupId>
  51. <artifactId>httpcore</artifactId>
  52. <version>4.4.13</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>commons-httpclient</groupId>
  56. <artifactId>commons-httpclient</artifactId>
  57. <version>3.1</version>
  58. </dependency>
  59. <!-- <dependency>-->
  60. <!-- <groupId>org.slf4j</groupId>-->
  61. <!-- <artifactId>slf4j-api</artifactId>-->
  62. <!-- </dependency>-->
  63. <!-- <dependency>-->
  64. <!-- <groupId>commons-io</groupId>-->
  65. <!-- <artifactId>commons-io</artifactId>-->
  66. <!-- </dependency>-->
  67. <!--json 组件 -->
  68. <!-- <dependency>-->
  69. <!-- <groupId>com.alibaba</groupId>-->
  70. <!-- <artifactId>fastjson</artifactId>-->
  71. <!-- <scope>provided</scope>-->
  72. <!-- </dependency>-->
  73. <!-- <dependency>-->
  74. <!-- <groupId>org.apache.cxf</groupId>-->
  75. <!-- <artifactId>cxf-spring-boot-starter-jaxws</artifactId>-->
  76. <!-- <version>3.3.1</version>-->
  77. <!-- </dependency>-->
  78. <!-- <dependency>-->
  79. <!-- <groupId>org.springframework.boot</groupId>-->
  80. <!-- <artifactId>spring-boot-starter-thymeleaf</artifactId>-->
  81. <!--&lt;!&ndash; <version>2.3.3.RELEASE</version>&ndash;&gt;-->
  82. <!-- </dependency>-->
  83. <!--钉钉相关-->
  84. <dependency>
  85. <groupId>com.aliyun</groupId>
  86. <artifactId>alibaba-dingtalk-service-sdk</artifactId>
  87. <version>1.0.1</version>
  88. </dependency>
  89. <!--json相关-->
  90. <dependency>
  91. <groupId>com.alibaba</groupId>
  92. <artifactId>fastjson</artifactId>
  93. <version>${fastjson.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.json</groupId>
  97. <artifactId>json</artifactId>
  98. <version>${json.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.google.code.gson</groupId>
  102. <artifactId>gson</artifactId>
  103. <version>${gson.version}</version>
  104. </dependency>
  105. <!-- <dependency>-->
  106. <!-- <groupId>net.sf.json-lib</groupId>-->
  107. <!-- <artifactId>json-lib</artifactId>-->
  108. <!-- <version>2.4</version>-->
  109. <!-- </dependency>-->
  110. <!-- JSONObject对象依赖的jar包 -->
  111. <dependency>
  112. <groupId>commons-beanutils</groupId>
  113. <artifactId>commons-beanutils</artifactId>
  114. <version>1.9.3</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>commons-collections</groupId>
  118. <artifactId>commons-collections</artifactId>
  119. <version>3.2.1</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>commons-lang</groupId>
  123. <artifactId>commons-lang</artifactId>
  124. <version>2.6</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>commons-logging</groupId>
  128. <artifactId>commons-logging</artifactId>
  129. <version>1.1.1</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>net.sf.ezmorph</groupId>
  133. <artifactId>ezmorph</artifactId>
  134. <version>1.0.6</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>net.sf.json-lib</groupId>
  138. <artifactId>json-lib</artifactId>
  139. <version>2.2.3</version>
  140. <classifier>jdk15</classifier><!-- 指定jdk版本 -->
  141. </dependency>
  142. <!--xls-->
  143. <dependency>
  144. <groupId>org.apache.poi</groupId>
  145. <artifactId>poi</artifactId>
  146. <version>${poi.version}</version>
  147. </dependency>
  148. <!--xlsx-->
  149. <dependency>
  150. <groupId>org.apache.poi</groupId>
  151. <artifactId>poi-ooxml</artifactId>
  152. <version>${poi.version}</version>
  153. </dependency>
  154. <!--文件上传-->
  155. <dependency>
  156. <groupId>commons-fileupload</groupId>
  157. <artifactId>commons-fileupload</artifactId>
  158. <version>${commons-fileupload.version}</version>
  159. </dependency>
  160. <!-- <dependency>-->
  161. <!-- <groupId>org.springframework.boot</groupId>-->
  162. <!-- <artifactId>spring-boot-starter-thymeleaf</artifactId>-->
  163. <!-- </dependency>-->
  164. <!--引入web模块-->
  165. <dependency>
  166. <groupId>org.springframework.boot</groupId>
  167. <artifactId>spring-boot-starter-web</artifactId>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.springframework.boot</groupId>
  171. <artifactId>spring-boot-devtools</artifactId>
  172. <version>2.3.3.RELEASE</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.projectlombok</groupId>
  176. <artifactId>lombok</artifactId>
  177. <optional>true</optional>
  178. <version>1.18.10</version>
  179. </dependency>
  180. <!--mybatis-plus数据库连接-->
  181. <dependency>
  182. <groupId>com.baomidou</groupId>
  183. <artifactId>mybatis-plus-boot-starter</artifactId>
  184. <version>3.2.0</version>
  185. </dependency>
  186. <!--引入mysql:数据库驱动-->
  187. <dependency>
  188. <groupId>mysql</groupId>
  189. <artifactId>mysql-connector-java</artifactId>
  190. <scope>runtime</scope>
  191. </dependency>
  192. <!--引入druid数据源-->
  193. <!-- https://mvnrepository.com/artifact/com.alibaba/druid -->
  194. <dependency>
  195. <groupId>com.alibaba</groupId>
  196. <artifactId>druid</artifactId>
  197. <version>1.1.9</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>com.alibaba</groupId>
  201. <artifactId>druid-spring-boot-starter</artifactId>
  202. <version>1.1.9</version>
  203. </dependency>
  204. <!--引入jpa模块-->
  205. <dependency>
  206. <groupId>org.springframework.boot</groupId>
  207. <artifactId>spring-boot-starter-data-jpa</artifactId>
  208. </dependency>
  209. <!--日期时间工具-->
  210. <dependency>
  211. <groupId>joda-time</groupId>
  212. <artifactId>joda-time</artifactId>
  213. <version>${jodatime.version}</version>
  214. </dependency>
  215. <!--log4j-->
  216. <dependency>
  217. <groupId>log4j</groupId>
  218. <artifactId>log4j</artifactId>
  219. <version>1.2.17</version>
  220. </dependency>
  221. <!--swagger-->
  222. <dependency>
  223. <groupId>io.springfox</groupId>
  224. <artifactId>springfox-swagger2</artifactId>
  225. <version>${swagger.version}</version>
  226. </dependency>
  227. <!--swagger ui-->
  228. <dependency>
  229. <groupId>io.springfox</groupId>
  230. <artifactId>springfox-swagger-ui</artifactId>
  231. <version>${swagger.version}</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>org.springframework.boot</groupId>
  235. <artifactId>spring-boot-starter-test</artifactId>
  236. <scope>test</scope>
  237. <exclusions>
  238. <exclusion>
  239. <groupId>org.junit.vintage</groupId>
  240. <artifactId>junit-vintage-engine</artifactId>
  241. </exclusion>
  242. </exclusions>
  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. </configuration>
  253. </plugin>
  254. </plugins>
  255. <!--映射mapper中对应的xml配置文件,如果没有mapper.xml文件则将下列注释-->
  256. <resources>
  257. <resource>
  258. <directory>src/main/java</directory>
  259. <includes>
  260. <include>**/*.xml</include>
  261. <include>**/*.properties</include>
  262. <include>**/*.tld</include>
  263. <include>**/*.xls</include>
  264. <include>**/*.xlsx</include>
  265. </includes>
  266. <filtering>false</filtering>
  267. </resource>
  268. </resources>
  269. </build>
  270. </project>