pom.xml 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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. <groupId>com.dayou</groupId>
  6. <artifactId>productivity-platform</artifactId>
  7. <packaging>pom</packaging>
  8. <version>1.0-PRODUCTIVITY-PLATFORM</version>
  9. <modules>
  10. <module>biz-base</module>
  11. <module>common</module>
  12. <module>dao</module>
  13. <module>domain</module>
  14. <module>service</module>
  15. <module>gen</module>
  16. </modules>
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  20. <java.version>1.8</java.version>
  21. <spring-boot.version>2.3.1.RELEASE</spring-boot.version>
  22. <druid.version>1.2.23</druid.version>
  23. <mysql-connector.version>8.0.16</mysql-connector.version>
  24. <mybatis-plus.version>3.3.2</mybatis-plus.version>
  25. <lombok.version>1.18.34</lombok.version>
  26. <hutool.version>5.8.32</hutool.version>
  27. <fastjson2.version>2.0.53</fastjson2.version>
  28. <pagehelper.version>1.2.5</pagehelper.version>
  29. <commons-fileupload.version>1.5</commons-fileupload.version>
  30. <sa-token.version>1.39.0</sa-token.version>
  31. <easyexcel.vsersion>4.0.3</easyexcel.vsersion>
  32. <poi.vsersion>5.2.3</poi.vsersion>
  33. <poi-ooxml.version>5.2.3</poi-ooxml.version>
  34. <commons-io.version>2.15.0</commons-io.version>
  35. <aspose-words.version>20.12</aspose-words.version>
  36. <jsoup.version>1.11.3</jsoup.version>
  37. <freemarker.version>2.3.29</freemarker.version>
  38. <aspose-cells.version>21.11</aspose-cells.version>
  39. <commons-lang3.version>3.7</commons-lang3.version>
  40. <jsqlparser.version>2.1</jsqlparser.version>
  41. <pageOffice.version>6.3.2.1-javax</pageOffice.version>
  42. </properties>
  43. <dependencyManagement>
  44. <dependencies>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-dependencies</artifactId>
  48. <version>${spring-boot.version}</version>
  49. <type>pom</type>
  50. <scope>import</scope>
  51. </dependency>
  52. <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
  53. <dependency>
  54. <groupId>com.alibaba</groupId>
  55. <artifactId>druid-spring-boot-starter</artifactId>
  56. <version>${druid.version}</version>
  57. </dependency>
  58. <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
  59. <dependency>
  60. <groupId>mysql</groupId>
  61. <artifactId>mysql-connector-java</artifactId>
  62. <version>${mysql-connector.version}</version>
  63. </dependency>
  64. <!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter -->
  65. <dependency>
  66. <groupId>com.baomidou</groupId>
  67. <artifactId>mybatis-plus-boot-starter</artifactId>
  68. <version>${mybatis-plus.version}</version>
  69. </dependency>
  70. <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
  71. <dependency>
  72. <groupId>cn.hutool</groupId>
  73. <artifactId>hutool-all</artifactId>
  74. <version>${hutool.version}</version>
  75. </dependency>
  76. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  77. <dependency>
  78. <groupId>org.projectlombok</groupId>
  79. <artifactId>lombok</artifactId>
  80. <version>${lombok.version}</version>
  81. <scope>provided</scope>
  82. </dependency>
  83. <!-- https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2 -->
  84. <dependency>
  85. <groupId>com.alibaba.fastjson2</groupId>
  86. <artifactId>fastjson2</artifactId>
  87. <version>${fastjson2.version}</version>
  88. </dependency>
  89. <!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper-spring-boot-starter -->
  90. <dependency>
  91. <groupId>com.github.pagehelper</groupId>
  92. <artifactId>pagehelper-spring-boot-starter</artifactId>
  93. <version>${pagehelper.version}</version>
  94. <exclusions>
  95. <exclusion>
  96. <groupId>org.mybatis</groupId>
  97. <artifactId>mybatis</artifactId>
  98. </exclusion>
  99. <exclusion>
  100. <groupId>org.mybatis</groupId>
  101. <artifactId>mybatis-spring</artifactId>
  102. </exclusion>
  103. </exclusions>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.github.jsqlparser</groupId>
  107. <artifactId>jsqlparser</artifactId>
  108. <version>${jsqlparser.version}</version>
  109. </dependency>
  110. <!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
  111. <dependency>
  112. <groupId>commons-fileupload</groupId>
  113. <artifactId>commons-fileupload</artifactId>
  114. <version>${commons-fileupload.version}</version>
  115. </dependency>
  116. <!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
  117. <dependency>
  118. <groupId>cn.dev33</groupId>
  119. <artifactId>sa-token-spring-boot-starter</artifactId>
  120. <version>${sa-token.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.alibaba</groupId>
  124. <artifactId>easyexcel</artifactId>
  125. <version>${easyexcel.vsersion}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.poi</groupId>
  129. <artifactId>poi</artifactId>
  130. <version>${poi.vsersion}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.apache.poi</groupId>
  134. <artifactId>poi-ooxml</artifactId>
  135. <version>${poi-ooxml.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>commons-io</groupId>
  139. <artifactId>commons-io</artifactId>
  140. <version>${commons-io.version}</version>
  141. </dependency>
  142. <!-- 文档处理,在线文档:https://reference.aspose.com/tutorials/words/zh/java/ -->
  143. <dependency>
  144. <groupId>com.aspose</groupId>
  145. <artifactId>aspose-words</artifactId>
  146. <version>${aspose-words.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.aspose</groupId>
  150. <artifactId>aspose-cells</artifactId>
  151. <version>${aspose-cells.version}</version>
  152. </dependency>
  153. <dependency>
  154. <!-- jsoup HTML parser library @ https://jsoup.org/ -->
  155. <groupId>org.jsoup</groupId>
  156. <artifactId>jsoup</artifactId>
  157. <version>${jsoup.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.freemarker</groupId>
  161. <artifactId>freemarker</artifactId>
  162. <version>${freemarker.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.apache.commons</groupId>
  166. <artifactId>commons-lang3</artifactId>
  167. <version>${commons-lang3.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>com.zhuozhengsoft</groupId>
  171. <artifactId>pageoffice</artifactId>
  172. <version>${pageOffice.version}</version>
  173. </dependency>
  174. </dependencies>
  175. </dependencyManagement>
  176. <build>
  177. <plugins>
  178. <plugin>
  179. <groupId>org.apache.maven.plugins</groupId>
  180. <artifactId>maven-compiler-plugin</artifactId>
  181. <version>3.8.1</version>
  182. <configuration>
  183. <source>${java.version}</source>
  184. <target>${java.version}</target>
  185. <encoding>UTF-8</encoding>
  186. </configuration>
  187. </plugin>
  188. </plugins>
  189. <resources>
  190. <resource>
  191. <directory>src/main/resources</directory>
  192. <!--开启过滤,用指定的参数替换directory下的文件中的参数-->
  193. <filtering>true</filtering>
  194. <excludes>
  195. <exclude>**/*.xlsx</exclude>
  196. <exclude>**/*.docx</exclude>
  197. </excludes>
  198. </resource>
  199. <resource>
  200. <directory>src/main/resources</directory>
  201. <!--开启过滤,用指定的参数替换directory下的文件中的参数-->
  202. <filtering>false</filtering>
  203. <includes>
  204. <include>**/*.xlsx</include>
  205. <include>**/*.docx</include>
  206. </includes>
  207. </resource>
  208. </resources>
  209. </build>
  210. </project>