pom.xml 11 KB

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