pom.xml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <groupId>org.springframework.boot</groupId>
  6. <artifactId>spring-boot-starter-parent</artifactId>
  7. <version>2.3.5.RELEASE</version>
  8. <relativePath/>
  9. </parent>
  10. <name>aj-report</name>
  11. <modelVersion>4.0.0</modelVersion>
  12. <groupId>com.anji-plus</groupId>
  13. <artifactId>aj-report</artifactId>
  14. <version>2.0.2.RELEASE</version>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <additionalparam>-Xdoclint:none</additionalparam>
  18. <maven.compiler.source>1.8</maven.compiler.source>
  19. <maven.compiler.target>1.8</maven.compiler.target>
  20. <maven.test.skip>true</maven.test.skip>
  21. </properties>
  22. <profiles>
  23. <profile>
  24. <id>dev</id>
  25. <!--默认激活当前配置-->
  26. <activation>
  27. <activeByDefault>true</activeByDefault>
  28. </activation>
  29. <properties>
  30. <spring.profiles.active>dev</spring.profiles.active>
  31. <profiles.active>dev</profiles.active>
  32. <!-- Docker 配置 -->
  33. <docker.dockerHost>http://172.16.90.64:22375</docker.dockerHost>
  34. <!-- <docker.serviceId>DockerHub</docker.serviceId>-->
  35. <docker.image.version>1.0.4</docker.image.version>
  36. </properties>
  37. </profile>
  38. <profile>
  39. <id>prod</id>
  40. <properties>
  41. <spring.profiles.active>prod</spring.profiles.active>
  42. <profiles.active>prod</profiles.active>
  43. <!-- Docker 配置 -->
  44. <docker.dockerHost>http://192.168.1.102:22375</docker.dockerHost>
  45. <!-- <docker.serviceId>DockerHub</docker.serviceId>-->
  46. <docker.image.version>1.0.0</docker.image.version>
  47. </properties>
  48. </profile>
  49. </profiles>
  50. <dependencies>
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-web</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-cache</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-test</artifactId>
  62. <scope>test</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.springframework.cloud</groupId>
  66. <artifactId>spring-cloud-context</artifactId>
  67. <version>2.2.6.RELEASE</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-configuration-processor</artifactId>
  72. <optional>true</optional>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.anji-plus</groupId>
  76. <artifactId>spring-boot-gaea</artifactId>
  77. <version>2.0.3.RELEASE</version>
  78. <exclusions>
  79. <exclusion>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-data-redis</artifactId>
  82. </exclusion>
  83. </exclusions>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.baomidou</groupId>
  87. <artifactId>mybatis-plus-boot-starter</artifactId>
  88. <version>3.3.2</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>mysql</groupId>
  92. <artifactId>mysql-connector-java</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.alibaba</groupId>
  96. <artifactId>druid</artifactId>
  97. <version>1.2.6</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.flywaydb</groupId>
  101. <artifactId>flyway-core</artifactId>
  102. <version>5.2.1</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>net.sf.ehcache</groupId>
  106. <artifactId>ehcache</artifactId>
  107. <version>2.10.6</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.apache.httpcomponents</groupId>
  111. <artifactId>httpclient</artifactId>
  112. <version>4.5.10</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.projectlombok</groupId>
  116. <artifactId>lombok</artifactId>
  117. <version>1.18.10</version>
  118. <optional>true</optional>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.itextpdf</groupId>
  122. <artifactId>itextpdf</artifactId>
  123. <version>5.5.13.2</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.itextpdf</groupId>
  127. <artifactId>itext-asian</artifactId>
  128. <version>5.2.0</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.apache.poi</groupId>
  132. <artifactId>poi</artifactId>
  133. <version>4.1.2</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.apache.poi</groupId>
  137. <artifactId>poi-ooxml</artifactId>
  138. <version>4.1.2</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.apache.poi</groupId>
  142. <artifactId>poi-ooxml-schemas</artifactId>
  143. <version>4.1.2</version>
  144. </dependency>
  145. </dependencies>
  146. <developers>
  147. <developer>
  148. <name>develop.anji-plus.com</name>
  149. <email>MS@anji-plus.com</email>
  150. <url>https://github.com/anji-plus</url>
  151. </developer>
  152. </developers>
  153. <build>
  154. <resources>
  155. <resource>
  156. <directory>src/main/resources</directory>
  157. <filtering>true</filtering>
  158. </resource>
  159. </resources>
  160. <plugins>
  161. <plugin>
  162. <groupId>org.springframework.boot</groupId>
  163. <artifactId>spring-boot-maven-plugin</artifactId>
  164. <configuration>
  165. <includeSystemScope>true</includeSystemScope>
  166. </configuration>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-resources-plugin</artifactId>
  171. <configuration>
  172. <nonFilteredFileExtensions>
  173. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  174. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  175. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  176. </nonFilteredFileExtensions>
  177. </configuration>
  178. </plugin>
  179. <plugin>
  180. <groupId>org.apache.maven.plugins</groupId>
  181. <artifactId>maven-assembly-plugin</artifactId>
  182. <version>3.3.0</version>
  183. <configuration>
  184. <descriptors>
  185. <descriptor>src/main/assembly/assembly.xml</descriptor>
  186. </descriptors>
  187. </configuration>
  188. <executions>
  189. <execution>
  190. <id>make-assembly</id>
  191. <phase>package</phase>
  192. <goals>
  193. <goal>single</goal>
  194. </goals>
  195. </execution>
  196. </executions>
  197. </plugin>
  198. <plugin>
  199. <groupId>org.apache.maven.plugins</groupId>
  200. <artifactId>maven-surefire-plugin</artifactId>
  201. <version>2.18.1</version>
  202. <configuration>
  203. <skipTests>true</skipTests>
  204. </configuration>
  205. </plugin>
  206. <plugin>
  207. <groupId>com.spotify</groupId>
  208. <artifactId>docker-maven-plugin</artifactId>
  209. <version>1.2.2</version>
  210. <configuration>
  211. <!-- <serverId>${docker.serviceId}</serverId>-->
  212. <dockerHost>${docker.dockerHost}</dockerHost>
  213. <!--指定标签-->
  214. <imageTags>
  215. <imageTag>${docker.image.version}</imageTag>
  216. </imageTags>
  217. <imageName>docker.io/${project.artifactId}:${docker.image.version}</imageName>
  218. <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
  219. <resources>
  220. <resource>
  221. <targetPath>/</targetPath>
  222. <directory>${project.build.directory}</directory>
  223. <include>${project.build.finalName}.jar</include>
  224. </resource>
  225. </resources>
  226. </configuration>
  227. </plugin>
  228. </plugins>
  229. </build>
  230. </project>