pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  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. <groupId>com.dayou</groupId>
  7. <artifactId>item-management-1phase</artifactId>
  8. <packaging>pom</packaging>
  9. <version>1.0-SNAPSHOT</version>
  10. <modules>
  11. <module>biz-base</module>
  12. <module>common</module>
  13. <module>dao</module>
  14. <module>domain</module>
  15. <module>service</module>
  16. <module>gen</module>
  17. </modules>
  18. <properties>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  21. <java.version>1.8</java.version>
  22. <springboot.version>2.3.1.RELEASE</springboot.version>
  23. <mybatis-plus.version>3.3.2</mybatis-plus.version>
  24. <druid.version>1.1.10</druid.version>
  25. <fastjson.version>1.2.72</fastjson.version>
  26. <guava.version>26.0-jre</guava.version>
  27. <commons-lang3.version>3.7</commons-lang3.version>
  28. <commons.io.version>2.11.0</commons.io.version>
  29. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  30. <mysql-connector-java.version>8.0.16</mysql-connector-java.version>
  31. <resource.delimiter>@</resource.delimiter>
  32. <poi.version>5.2.2</poi.version>
  33. <hutool.version>5.8.1</hutool.version>
  34. <pagehelper.boot.version>1.2.5</pagehelper.boot.version>
  35. <jwt.version>0.9.0</jwt.version>
  36. </properties>
  37. <dependencyManagement>
  38. <dependencies>
  39. <!-- SpringBoot的依赖配置 -->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-dependencies</artifactId>
  43. <version>${springboot.version}</version>
  44. <type>pom</type>
  45. <scope>import</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.baomidou</groupId>
  49. <artifactId>mybatis-plus</artifactId>
  50. <version>${mybatis-plus.version}</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.baomidou</groupId>
  54. <artifactId>mybatis-plus-boot-starter</artifactId>
  55. <version>${mybatis-plus.version}</version>
  56. </dependency>
  57. <!-- pagehelper 分页插件 -->
  58. <dependency>
  59. <groupId>com.github.pagehelper</groupId>
  60. <artifactId>pagehelper-spring-boot-starter</artifactId>
  61. <version>${pagehelper.boot.version}</version>
  62. <exclusions>
  63. <exclusion>
  64. <groupId>org.mybatis</groupId>
  65. <artifactId>mybatis</artifactId>
  66. </exclusion>
  67. </exclusions>
  68. </dependency>
  69. <dependency>
  70. <groupId>com.alibaba</groupId>
  71. <artifactId>fastjson</artifactId>
  72. <version>${fastjson.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.alibaba</groupId>
  76. <artifactId>druid</artifactId>
  77. <version>${druid.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>com.google.guava</groupId>
  81. <artifactId>guava</artifactId>
  82. <version>${guava.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.commons</groupId>
  86. <artifactId>commons-lang3</artifactId>
  87. <version>${commons-lang3.version}</version>
  88. </dependency>
  89. <!--io常用工具类 -->
  90. <dependency>
  91. <groupId>commons-io</groupId>
  92. <artifactId>commons-io</artifactId>
  93. <version>${commons.io.version}</version>
  94. </dependency>
  95. <!--文件上传工具类 -->
  96. <dependency>
  97. <groupId>commons-fileupload</groupId>
  98. <artifactId>commons-fileupload</artifactId>
  99. <version>${commons.fileupload.version}</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.apache.velocity</groupId>
  103. <artifactId>velocity-engine-core</artifactId>
  104. <version>2.2</version>
  105. </dependency>
  106. <!--引入多数据源依赖【操作多个数据库】-->
  107. <!-- https://mvnrepository.com/artifact/com.baomidou/dynamic-datasource-spring-boot-starter -->
  108. <dependency>
  109. <groupId>com.baomidou</groupId>
  110. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  111. <version>4.1.3</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>mysql</groupId>
  115. <artifactId>mysql-connector-java</artifactId>
  116. <version>${mysql-connector-java.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>net.sf.dozer</groupId>
  120. <artifactId>dozer</artifactId>
  121. <version>5.4.0</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>commons-collections</groupId>
  125. <artifactId>commons-collections</artifactId>
  126. <version>3.2.1</version>
  127. </dependency>
  128. <!-- excel工具 -->
  129. <dependency>
  130. <groupId>org.apache.poi</groupId>
  131. <artifactId>poi-ooxml</artifactId>
  132. <version>${poi.version}</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>com.deepoove</groupId>
  136. <artifactId>poi-tl</artifactId>
  137. <version>1.11.0</version>
  138. <exclusions>
  139. <exclusion>
  140. <artifactId>xalan</artifactId>
  141. <groupId>xalan</groupId>
  142. </exclusion>
  143. </exclusions>
  144. </dependency>
  145. <dependency>
  146. <groupId>cn.hutool</groupId>
  147. <artifactId>hutool-all</artifactId>
  148. <version>${hutool.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>io.jsonwebtoken</groupId>
  152. <artifactId>jjwt</artifactId>
  153. <version>${jwt.version}</version>
  154. </dependency>
  155. <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  156. <dependency>
  157. <groupId>com.google.code.gson</groupId>
  158. <artifactId>gson</artifactId>
  159. <version>2.8.6</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.hibernate</groupId>
  163. <artifactId>hibernate-validator</artifactId>
  164. <version>5.4.3.Final</version>
  165. </dependency>
  166. <!-- https://mvnrepository.com/artifact/net.coobird/thumbnailator -->
  167. <dependency>
  168. <groupId>net.coobird</groupId>
  169. <artifactId>thumbnailator</artifactId>
  170. <version>0.4.11</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.github.dozermapper</groupId>
  174. <artifactId>dozer-spring-boot-starter</artifactId>
  175. <version>6.5.0</version>
  176. </dependency>
  177. <dependency>
  178. <groupId>com.github.shalousun</groupId>
  179. <artifactId>smart-doc</artifactId>
  180. <version>2.0.2</version>
  181. <scope>test</scope>
  182. </dependency>
  183. <!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
  184. <dependency>
  185. <groupId>commons-fileupload</groupId>
  186. <artifactId>commons-fileupload</artifactId>
  187. <version>1.4</version>
  188. </dependency>
  189. <!-- https://mvnrepository.com/artifact/org.freemarker/freemarker -->
  190. <dependency>
  191. <groupId>org.freemarker</groupId>
  192. <artifactId>freemarker</artifactId>
  193. <version>2.3.29</version>
  194. </dependency>
  195. <dependency>
  196. <!-- jsoup HTML parser library @ https://jsoup.org/ -->
  197. <groupId>org.jsoup</groupId>
  198. <artifactId>jsoup</artifactId>
  199. <version>1.11.3</version>
  200. </dependency>
  201. </dependencies>
  202. </dependencyManagement>
  203. <dependencies>
  204. <dependency>
  205. <groupId>org.projectlombok</groupId>
  206. <artifactId>lombok</artifactId>
  207. <scope>provided</scope>
  208. <version>1.18.8</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>org.springframework.boot</groupId>
  212. <artifactId>spring-boot-devtools</artifactId>
  213. <optional>true</optional> <!-- 表示依赖不会传递 -->
  214. </dependency>
  215. <dependency>
  216. <groupId>com.zhuozhengsoft</groupId>
  217. <artifactId>pageoffice</artifactId>
  218. <version>6.3.2.1-javax</version>
  219. </dependency>
  220. </dependencies>
  221. <build>
  222. <plugins>
  223. <plugin>
  224. <groupId>org.apache.maven.plugins</groupId>
  225. <artifactId>maven-compiler-plugin</artifactId>
  226. <configuration>
  227. <source>${java.version}</source>
  228. <target>${java.version}</target>
  229. <encoding>${project.build.sourceEncoding}</encoding>
  230. </configuration>
  231. <version>3.6.0</version>
  232. </plugin>
  233. <plugin>
  234. <groupId>org.apache.maven.plugins</groupId>
  235. <artifactId>maven-resources-plugin</artifactId>
  236. <version>3.0.2</version>
  237. <configuration>
  238. <delimiters>
  239. <delimiter>@</delimiter>
  240. </delimiters>
  241. <useDefaultDelimiters>false</useDefaultDelimiters>
  242. </configuration>
  243. </plugin>
  244. <plugin>
  245. <groupId>org.apache.maven.plugins</groupId>
  246. <artifactId>maven-source-plugin</artifactId>
  247. <version>2.4</version>
  248. <executions>
  249. <execution>
  250. <id>attach-sources</id>
  251. <goals>
  252. <goal>jar</goal>
  253. </goals>
  254. </execution>
  255. </executions>
  256. </plugin>
  257. </plugins>
  258. <resources>
  259. <resource>
  260. <directory>src/main/resources</directory>
  261. <!--开启过滤,用指定的参数替换directory下的文件中的参数-->
  262. <filtering>true</filtering>
  263. <excludes>
  264. <exclude>**/*.xlsx</exclude>
  265. <exclude>**/*.docx</exclude>
  266. </excludes>
  267. </resource>
  268. <resource>
  269. <directory>src/main/resources</directory>
  270. <!--开启过滤,用指定的参数替换directory下的文件中的参数-->
  271. <filtering>false</filtering>
  272. <includes>
  273. <include>**/*.xlsx</include>
  274. <include>**/*.docx</include>
  275. </includes>
  276. </resource>
  277. </resources>
  278. </build>
  279. <profiles>
  280. <profile>
  281. <id>local</id>
  282. <properties>
  283. <spring.active>local</spring.active>
  284. </properties>
  285. <activation>
  286. <activeByDefault>true</activeByDefault>
  287. </activation>
  288. </profile>
  289. <profile>
  290. <id>test</id>
  291. <properties>
  292. <spring.active>test</spring.active>
  293. </properties>
  294. </profile>
  295. <profile>
  296. <id>prod</id>
  297. <properties>
  298. <spring.active>prod</spring.active>
  299. </properties>
  300. </profile>
  301. </profiles>
  302. </project>