拓恒河湖长制全民护河平台后端JAVA服务
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

255 行
8.4KB

  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. <parent>
  6. <artifactId>tuoheng</artifactId>
  7. <groupId>com.tuoheng</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>tuoheng-api</artifactId>
  12. <packaging>jar</packaging>
  13. <name>tuoheng-api</name>
  14. <description>小程序服务模块</description>
  15. <!-- 依赖声明 -->
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.apache.poi</groupId>
  19. <artifactId>poi</artifactId>
  20. <version>4.0.1</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.apache.poi</groupId>
  24. <artifactId>poi-scratchpad</artifactId>
  25. <version>4.0.1</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.apache.poi</groupId>
  29. <artifactId>poi-ooxml</artifactId>
  30. <version>4.0.1</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.apache.poi</groupId>
  34. <artifactId>poi-ooxml-schemas</artifactId>
  35. <version>4.0.1</version>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.lowagie</groupId>
  39. <artifactId>itext</artifactId>
  40. <version>2.1.7</version>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.lowagie</groupId>
  44. <artifactId>itext-rtf</artifactId>
  45. <version>2.1.7</version>
  46. </dependency>
  47. <!-- 引入子模块依赖 -->
  48. <dependency>
  49. <groupId>com.tuoheng</groupId>
  50. <artifactId>tuoheng-common</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.projectlombok</groupId>
  54. <artifactId>lombok</artifactId>
  55. <optional>true</optional>
  56. </dependency>
  57. <!-- MySql驱动 -->
  58. <dependency>
  59. <groupId>mysql</groupId>
  60. <artifactId>mysql-connector-java</artifactId>
  61. <scope>runtime</scope>
  62. </dependency>
  63. <!--mybatis-plus 代码自动生成 -->
  64. <dependency>
  65. <groupId>com.baomidou</groupId>
  66. <artifactId>mybatis-plus-generator</artifactId>
  67. <version>3.2.0</version>
  68. </dependency>
  69. <!-- 引入阿里数据库连接池 -->
  70. <dependency>
  71. <groupId>com.alibaba</groupId>
  72. <artifactId>druid-spring-boot-starter</artifactId>
  73. <version>1.1.22</version>
  74. </dependency>
  75. <!-- https://mvnrepository.com/artifact/log4j/log4j -->
  76. <dependency>
  77. <groupId>log4j</groupId>
  78. <artifactId>log4j</artifactId>
  79. <version>1.2.17</version>
  80. </dependency>
  81. <!-- https://mvnrepository.com/artifact/org.apache.poi/ooxml-schemas -->
  82. <dependency>
  83. <groupId>com.itextpdf</groupId>
  84. <artifactId>itextpdf</artifactId>
  85. <version>5.4.3</version>
  86. </dependency>
  87. <!-- https://mvnrepository.com/artifact/org.freemarker/freemarker -->
  88. <dependency>
  89. <groupId>org.freemarker</groupId>
  90. <artifactId>freemarker</artifactId>
  91. <version>2.3.30</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.itextpdf</groupId>
  95. <artifactId>itextpdf</artifactId>
  96. <version>5.5.13</version>
  97. </dependency>
  98. <!-- https://mvnrepository.com/artifact/com.itextpdf/itext-asian -->
  99. <dependency>
  100. <groupId>com.itextpdf</groupId>
  101. <artifactId>itext-asian</artifactId>
  102. <version>5.2.0</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>com.github.pagehelper</groupId>
  106. <artifactId>pagehelper</artifactId>
  107. <version>5.2.0</version>
  108. </dependency>
  109. <!--阿里云和STS-->
  110. <dependency>
  111. <groupId>com.aliyun</groupId>
  112. <artifactId>aliyun-java-sdk-sts</artifactId>
  113. <version>3.0.0</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.aliyun</groupId>
  117. <artifactId>aliyun-java-sdk-core</artifactId>
  118. <version>4.4.6</version>
  119. </dependency>
  120. <!--mapStruct依赖 高性能对象映射-->
  121. <!--mapstruct核心-->
  122. <dependency>
  123. <groupId>org.mapstruct</groupId>
  124. <artifactId>mapstruct</artifactId>
  125. <version>1.5.3.Final</version>
  126. </dependency>
  127. <!--mapstruct编译-->
  128. <dependency>
  129. <groupId>org.mapstruct</groupId>
  130. <artifactId>mapstruct-processor</artifactId>
  131. <version>1.5.3.Final</version>
  132. </dependency>
  133. </dependencies>
  134. <profiles>
  135. <!-- 本地开发环境 -->
  136. <profile>
  137. <id>local</id>
  138. <properties>
  139. <package.environment>local</package.environment>
  140. </properties>
  141. <activation>
  142. <activeByDefault>true</activeByDefault>
  143. </activation>
  144. </profile>
  145. <!-- 开发环境 -->
  146. <profile>
  147. <id>dev</id>
  148. <properties>
  149. <package.environment>dev</package.environment>
  150. </properties>
  151. </profile>
  152. <!-- 测试环境 -->
  153. <profile>
  154. <id>test</id>
  155. <properties>
  156. <package.environment>test</package.environment>
  157. </properties>
  158. </profile>
  159. <!-- 生产环境 -->
  160. <profile>
  161. <id>prod</id>
  162. <properties>
  163. <package.environment>prod</package.environment>
  164. </properties>
  165. </profile>
  166. </profiles>
  167. <build>
  168. <finalName>tuoheng_qmhh_api</finalName>
  169. <resources>
  170. <resource>
  171. <directory>src/main/resources</directory>
  172. <filtering>true</filtering>
  173. <includes>
  174. <include>**/*.xml</include>
  175. <include>**/*.properties</include>
  176. <include>**/*.yml</include>
  177. </includes>
  178. </resource>
  179. <resource>
  180. <directory>src/main/resources</directory>
  181. <filtering>false</filtering>
  182. <includes>
  183. <include>**/*.docx</include>
  184. </includes>
  185. </resource>
  186. <resource>
  187. <directory>src/main/java</directory>
  188. <includes>
  189. <include>**/*.*</include>
  190. </includes>
  191. <excludes>
  192. <exclude>**/*.java</exclude>
  193. </excludes>
  194. </resource>
  195. <resource>
  196. <directory>src/main/resources</directory>
  197. <filtering>true</filtering>
  198. <targetPath>WEB-INF/classes</targetPath>
  199. <includes>
  200. <include>application-${package.environment}.yml</include>
  201. </includes>
  202. </resource>
  203. </resources>
  204. <pluginManagement>
  205. <plugins>
  206. <plugin>
  207. <groupId>org.springframework.boot</groupId>
  208. <artifactId>spring-boot-maven-plugin</artifactId>
  209. <version>2.1.11.RELEASE</version>
  210. <configuration>
  211. <finalName>${project.build.finalName}</finalName>
  212. </configuration>
  213. <executions>
  214. <execution>
  215. <goals>
  216. <goal>repackage</goal>
  217. </goals>
  218. </execution>
  219. </executions>
  220. </plugin>
  221. </plugins>
  222. </pluginManagement>
  223. <plugins>
  224. <plugin>
  225. <groupId>org.springframework.boot</groupId>
  226. <artifactId>spring-boot-maven-plugin</artifactId>
  227. </plugin>
  228. <plugin>
  229. <groupId>org.apache.maven.plugins</groupId>
  230. <artifactId>maven-surefire-plugin</artifactId>
  231. <version>2.7</version>
  232. <configuration>
  233. <skipTests>true</skipTests>
  234. </configuration>
  235. </plugin>
  236. </plugins>
  237. </build>
  238. </project>