pom.xml 10 KB

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