pom.xml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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. <jackson-annotations.version>2.13.4</jackson-annotations.version>
  43. </properties>
  44. <dependencyManagement>
  45. <dependencies>
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-dependencies</artifactId>
  49. <version>${spring-boot.version}</version>
  50. <type>pom</type>
  51. <scope>import</scope>
  52. </dependency>
  53. <!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
  54. <dependency>
  55. <groupId>com.alibaba</groupId>
  56. <artifactId>druid-spring-boot-starter</artifactId>
  57. <version>${druid.version}</version>
  58. </dependency>
  59. <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
  60. <dependency>
  61. <groupId>mysql</groupId>
  62. <artifactId>mysql-connector-java</artifactId>
  63. <version>${mysql-connector.version}</version>
  64. </dependency>
  65. <!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter -->
  66. <dependency>
  67. <groupId>com.baomidou</groupId>
  68. <artifactId>mybatis-plus-boot-starter</artifactId>
  69. <version>${mybatis-plus.version}</version>
  70. </dependency>
  71. <!-- https://mvnrepository.com/artifact/cn.hutool/hutool-all -->
  72. <dependency>
  73. <groupId>cn.hutool</groupId>
  74. <artifactId>hutool-all</artifactId>
  75. <version>${hutool.version}</version>
  76. </dependency>
  77. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  78. <dependency>
  79. <groupId>org.projectlombok</groupId>
  80. <artifactId>lombok</artifactId>
  81. <version>${lombok.version}</version>
  82. <scope>provided</scope>
  83. </dependency>
  84. <!-- https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2 -->
  85. <dependency>
  86. <groupId>com.alibaba.fastjson2</groupId>
  87. <artifactId>fastjson2</artifactId>
  88. <version>${fastjson2.version}</version>
  89. </dependency>
  90. <!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper-spring-boot-starter -->
  91. <dependency>
  92. <groupId>com.github.pagehelper</groupId>
  93. <artifactId>pagehelper-spring-boot-starter</artifactId>
  94. <version>${pagehelper.version}</version>
  95. <exclusions>
  96. <exclusion>
  97. <groupId>org.mybatis</groupId>
  98. <artifactId>mybatis</artifactId>
  99. </exclusion>
  100. <exclusion>
  101. <groupId>org.mybatis</groupId>
  102. <artifactId>mybatis-spring</artifactId>
  103. </exclusion>
  104. </exclusions>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.github.jsqlparser</groupId>
  108. <artifactId>jsqlparser</artifactId>
  109. <version>${jsqlparser.version}</version>
  110. </dependency>
  111. <!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
  112. <dependency>
  113. <groupId>commons-fileupload</groupId>
  114. <artifactId>commons-fileupload</artifactId>
  115. <version>${commons-fileupload.version}</version>
  116. </dependency>
  117. <!-- Sa-Token 权限认证,在线文档:https://sa-token.cc -->
  118. <dependency>
  119. <groupId>cn.dev33</groupId>
  120. <artifactId>sa-token-spring-boot-starter</artifactId>
  121. <version>${sa-token.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.alibaba</groupId>
  125. <artifactId>easyexcel</artifactId>
  126. <version>${easyexcel.vsersion}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.apache.poi</groupId>
  130. <artifactId>poi</artifactId>
  131. <version>${poi.vsersion}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.apache.poi</groupId>
  135. <artifactId>poi-ooxml</artifactId>
  136. <version>${poi-ooxml.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>commons-io</groupId>
  140. <artifactId>commons-io</artifactId>
  141. <version>${commons-io.version}</version>
  142. </dependency>
  143. <!-- 文档处理,在线文档:https://reference.aspose.com/tutorials/words/zh/java/ -->
  144. <dependency>
  145. <groupId>com.aspose</groupId>
  146. <artifactId>aspose-words</artifactId>
  147. <version>${aspose-words.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.aspose</groupId>
  151. <artifactId>aspose-cells</artifactId>
  152. <version>${aspose-cells.version}</version>
  153. </dependency>
  154. <dependency>
  155. <!-- jsoup HTML parser library @ https://jsoup.org/ -->
  156. <groupId>org.jsoup</groupId>
  157. <artifactId>jsoup</artifactId>
  158. <version>${jsoup.version}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.freemarker</groupId>
  162. <artifactId>freemarker</artifactId>
  163. <version>${freemarker.version}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.apache.commons</groupId>
  167. <artifactId>commons-lang3</artifactId>
  168. <version>${commons-lang3.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>com.zhuozhengsoft</groupId>
  172. <artifactId>pageoffice</artifactId>
  173. <version>${pageOffice.version}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>com.fasterxml.jackson.core</groupId>
  177. <artifactId>jackson-annotations</artifactId>
  178. <version>${jackson-annotations.version}</version>
  179. </dependency>
  180. </dependencies>
  181. </dependencyManagement>
  182. <build>
  183. <plugins>
  184. <plugin>
  185. <groupId>org.apache.maven.plugins</groupId>
  186. <artifactId>maven-compiler-plugin</artifactId>
  187. <version>3.8.1</version>
  188. <configuration>
  189. <source>${java.version}</source>
  190. <target>${java.version}</target>
  191. <encoding>UTF-8</encoding>
  192. </configuration>
  193. </plugin>
  194. </plugins>
  195. <resources>
  196. <resource>
  197. <directory>src/main/resources</directory>
  198. <!--开启过滤,用指定的参数替换directory下的文件中的参数-->
  199. <filtering>true</filtering>
  200. <excludes>
  201. <exclude>**/*.xlsx</exclude>
  202. <exclude>**/*.docx</exclude>
  203. </excludes>
  204. </resource>
  205. <resource>
  206. <directory>src/main/resources</directory>
  207. <!--开启过滤,用指定的参数替换directory下的文件中的参数-->
  208. <filtering>false</filtering>
  209. <includes>
  210. <include>**/*.xlsx</include>
  211. <include>**/*.docx</include>
  212. </includes>
  213. </resource>
  214. </resources>
  215. </build>
  216. </project>