pom.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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.hssx.parent</groupId>
  7. <artifactId>formulahousekeeper</artifactId>
  8. <packaging>pom</packaging>
  9. <version>1.0.0-SNAPSHOT</version>
  10. <parent>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-starter-parent</artifactId>
  13. <version>2.1.11.RELEASE</version>
  14. <relativePath/>
  15. </parent>
  16. <modules>
  17. <module>management-platform</module>
  18. </modules>
  19. <properties>
  20. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  21. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  22. <java.version>1.8</java.version>
  23. <poi.version>3.17</poi.version>
  24. <freemarker.version>2.3.23</freemarker.version>
  25. <commons.fileupload.version>1.3.3</commons.fileupload.version>
  26. <mysql.version>8.0.18</mysql.version>
  27. <pageHelper.starter.version>1.2.12</pageHelper.starter.version>
  28. <mybatis.plus.boot.starter.version>3.1.2</mybatis.plus.boot.starter.version>
  29. <mybatis.plus.generator.version>3.1.2</mybatis.plus.generator.version>
  30. <velocity.engine.core.version>2.0</velocity.engine.core.version>
  31. <fastjson.version>1.2.7</fastjson.version>
  32. <commons.lang3.version>3.8.1</commons.lang3.version>
  33. <poi.ooxml.version>3.17</poi.ooxml.version>
  34. <commons.net.version>3.6</commons.net.version>
  35. <lombok.version>1.18.8</lombok.version>
  36. <fastjson.version>1.2.7</fastjson.version>
  37. <baidu.api.sdk.version>4.2.0</baidu.api.sdk.version>
  38. </properties>
  39. <repositories>
  40. <repository>
  41. <id>alimaven</id>
  42. <name>aliyun maven</name>
  43. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  44. </repository>
  45. <repository>
  46. <id>alimaven2</id>
  47. <name>aliyun maven 2</name>
  48. <url>http://maven.aliyun.com/nexus/content/repositories/central</url>
  49. </repository>
  50. </repositories>
  51. <!--统一管理依赖-->
  52. <dependencyManagement>
  53. <dependencies>
  54. <!-- mysql驱动 -->
  55. <dependency>
  56. <groupId>mysql</groupId>
  57. <artifactId>mysql-connector-java</artifactId>
  58. <version>${mysql.version}</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-devtools</artifactId>
  63. <scope>runtime</scope>
  64. <optional>true</optional>
  65. </dependency>
  66. <!-- pagehelper整合mybatis-plus-->
  67. <!--Pagehelper 依赖 5.1.10 版本,需要去掉 mybatis 依赖,否则会和 mybatis plus 冲突-->
  68. <dependency>
  69. <groupId>com.github.pagehelper</groupId>
  70. <artifactId>pagehelper-spring-boot-starter</artifactId>
  71. <version>${pageHelper.starter.version}</version>
  72. <exclusions>
  73. <exclusion>
  74. <groupId>org.mybatis</groupId>
  75. <artifactId>mybatis</artifactId>
  76. </exclusion>
  77. <exclusion>
  78. <groupId>org.mybatis</groupId>
  79. <artifactId>mybatis-spring</artifactId>
  80. </exclusion>
  81. </exclusions>
  82. </dependency>
  83. <!-- mybatis-plus依赖 -->
  84. <dependency>
  85. <groupId>com.baomidou</groupId>
  86. <artifactId>mybatis-plus-boot-starter</artifactId>
  87. <version>${mybatis.plus.boot.starter.version}</version>
  88. </dependency>
  89. <!-- mybatis-plus代码生成器依赖 -->
  90. <dependency>
  91. <groupId>com.baomidou</groupId>
  92. <artifactId>mybatis-plus-generator</artifactId>
  93. <version>${mybatis.plus.generator.version}</version>
  94. </dependency>
  95. <!-- velocity模板引擎 -->
  96. <dependency>
  97. <groupId>org.apache.velocity</groupId>
  98. <artifactId>velocity-engine-core</artifactId>
  99. <version>${velocity.engine.core.version}</version>
  100. </dependency>
  101. <!-- freemarker 模板引擎-->
  102. <dependency>
  103. <groupId>org.freemarker</groupId>
  104. <artifactId>freemarker</artifactId>
  105. <version>${freemarker.version}</version>
  106. </dependency>
  107. <!-- 文件上传 -->
  108. <dependency>
  109. <groupId>commons-fileupload</groupId>
  110. <artifactId>commons-fileupload</artifactId>
  111. <version>${commons.fileupload.version}</version>
  112. </dependency>
  113. <!-- fastjson -->
  114. <dependency>
  115. <groupId>com.alibaba</groupId>
  116. <artifactId>fastjson</artifactId>
  117. <version>${fastjson.version}</version>
  118. </dependency>
  119. <!-- https://mvnrepository.com/artifact/commons-net/commons-net -->
  120. <dependency>
  121. <groupId>commons-net</groupId>
  122. <artifactId>commons-net</artifactId>
  123. <version>${commons.net.version}</version>
  124. </dependency>
  125. <!--读取excel文件-->
  126. <dependency>
  127. <groupId>org.apache.poi</groupId>
  128. <artifactId>poi</artifactId>
  129. <version>${poi.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.apache.poi</groupId>
  133. <artifactId>poi-ooxml</artifactId>
  134. <version>${poi.ooxml.version}</version>
  135. </dependency>
  136. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
  137. <dependency>
  138. <groupId>org.apache.commons</groupId>
  139. <artifactId>commons-lang3</artifactId>
  140. <version>${commons.lang3.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.projectlombok</groupId>
  144. <artifactId>lombok</artifactId>
  145. <version>${lombok.version}</version>
  146. </dependency>
  147. <!-- fastjson -->
  148. <dependency>
  149. <groupId>com.alibaba</groupId>
  150. <artifactId>fastjson</artifactId>
  151. <version>${fastjson.version}</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>com.baidu.aip</groupId>
  155. <artifactId>java-sdk</artifactId>
  156. <version>${baidu.api.sdk.version}</version>
  157. <exclusions>
  158. <exclusion>
  159. <groupId>org.slf4j</groupId>
  160. <artifactId>slf4j-simple</artifactId>
  161. </exclusion>
  162. </exclusions>
  163. </dependency>
  164. </dependencies>
  165. </dependencyManagement>
  166. <build>
  167. <plugins>
  168. <plugin>
  169. <groupId>org.springframework.boot</groupId>
  170. <artifactId>spring-boot-maven-plugin</artifactId>
  171. </plugin>
  172. </plugins>
  173. </build>
  174. </project>