拓恒河湖长制全民护河平台后端JAVA服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

239 lines
7.9KB

  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. </dependencies>
  121. <profiles>
  122. <!-- 本地开发环境 -->
  123. <profile>
  124. <id>local</id>
  125. <properties>
  126. <package.environment>local</package.environment>
  127. </properties>
  128. <activation>
  129. <activeByDefault>true</activeByDefault>
  130. </activation>
  131. </profile>
  132. <!-- 开发环境 -->
  133. <profile>
  134. <id>dev</id>
  135. <properties>
  136. <package.environment>dev</package.environment>
  137. </properties>
  138. </profile>
  139. <!-- 测试环境 -->
  140. <profile>
  141. <id>test</id>
  142. <properties>
  143. <package.environment>test</package.environment>
  144. </properties>
  145. </profile>
  146. <!-- 生产环境 -->
  147. <profile>
  148. <id>prod</id>
  149. <properties>
  150. <package.environment>prod</package.environment>
  151. </properties>
  152. </profile>
  153. </profiles>
  154. <build>
  155. <finalName>tuoheng_qmhh_api</finalName>
  156. <resources>
  157. <resource>
  158. <directory>src/main/resources</directory>
  159. <filtering>true</filtering>
  160. <includes>
  161. <include>**/*.xml</include>
  162. <include>**/*.properties</include>
  163. <include>**/*.yml</include>
  164. </includes>
  165. </resource>
  166. <resource>
  167. <directory>src/main/resources</directory>
  168. <filtering>false</filtering>
  169. <includes>
  170. <include>**/*.docx</include>
  171. </includes>
  172. </resource>
  173. <resource>
  174. <directory>src/main/java</directory>
  175. <includes>
  176. <include>**/*.*</include>
  177. </includes>
  178. <excludes>
  179. <exclude>**/*.java</exclude>
  180. </excludes>
  181. </resource>
  182. <resource>
  183. <directory>src/main/resources</directory>
  184. <filtering>true</filtering>
  185. <targetPath>WEB-INF/classes</targetPath>
  186. <includes>
  187. <include>application-${package.environment}.yml</include>
  188. </includes>
  189. </resource>
  190. </resources>
  191. <pluginManagement>
  192. <plugins>
  193. <plugin>
  194. <groupId>org.springframework.boot</groupId>
  195. <artifactId>spring-boot-maven-plugin</artifactId>
  196. <version>2.1.11.RELEASE</version>
  197. <configuration>
  198. <finalName>${project.build.finalName}</finalName>
  199. </configuration>
  200. <executions>
  201. <execution>
  202. <goals>
  203. <goal>repackage</goal>
  204. </goals>
  205. </execution>
  206. </executions>
  207. </plugin>
  208. </plugins>
  209. </pluginManagement>
  210. <plugins>
  211. <plugin>
  212. <groupId>org.springframework.boot</groupId>
  213. <artifactId>spring-boot-maven-plugin</artifactId>
  214. </plugin>
  215. <plugin>
  216. <groupId>org.apache.maven.plugins</groupId>
  217. <artifactId>maven-surefire-plugin</artifactId>
  218. <version>2.7</version>
  219. <configuration>
  220. <skipTests>true</skipTests>
  221. </configuration>
  222. </plugin>
  223. </plugins>
  224. </build>
  225. </project>