pom.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  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>backend</artifactId>
  7. <groupId>cn.kdan.pdf.office</groupId>
  8. <version>0.0.1</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>pdf-office-pdf-website</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. </properties>
  16. <url>http://maven.apache.org</url>
  17. <dependencies>
  18. <dependency>
  19. <groupId>cn.kdan.pdf.office</groupId>
  20. <artifactId>pdf-office-api-email</artifactId>
  21. <version>0.0.1</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>cn.kdan.pdf.office</groupId>
  25. <artifactId>pdf-office-common</artifactId>
  26. <version>0.0.1</version>
  27. <exclusions>
  28. <exclusion>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-amqp</artifactId>
  31. </exclusion>
  32. </exclusions>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-web</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-test</artifactId>
  41. <scope>test</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-actuator</artifactId>
  46. <scope>compile</scope>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.alibaba.cloud</groupId>
  50. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.alibaba.cloud</groupId>
  54. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.cloud</groupId>
  58. <artifactId>spring-cloud-starter-openfeign</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.cloud</groupId>
  62. <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>com.alibaba</groupId>
  66. <artifactId>druid-spring-boot-starter</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.alibaba</groupId>
  70. <artifactId>druid</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.fasterxml.jackson.core</groupId>
  74. <artifactId>jackson-databind</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.alibaba</groupId>
  78. <artifactId>fastjson</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>cn.kdan.pdf.office</groupId>
  82. <artifactId>pdf-office-api-product</artifactId>
  83. <version>0.0.1</version>
  84. <exclusions>
  85. <exclusion>
  86. <groupId>cn.kdan.pdf.office</groupId>
  87. <artifactId>pdf-office-common</artifactId>
  88. </exclusion>
  89. </exclusions>
  90. </dependency>
  91. <dependency>
  92. <groupId>cn.kdan.pdf.office</groupId>
  93. <artifactId>pdf-office-api-payment</artifactId>
  94. <version>0.0.1</version>
  95. <exclusions>
  96. <exclusion>
  97. <groupId>cn.kdan.pdf.office</groupId>
  98. <artifactId>pdf-office-common</artifactId>
  99. </exclusion>
  100. </exclusions>
  101. </dependency>
  102. <dependency>
  103. <groupId>cn.kdan.pdf.office</groupId>
  104. <artifactId>pdf-office-api-account</artifactId>
  105. <version>0.0.1</version>
  106. <exclusions>
  107. <exclusion>
  108. <groupId>cn.kdan.pdf.office</groupId>
  109. <artifactId>pdf-office-common</artifactId>
  110. </exclusion>
  111. </exclusions>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.springframework.boot</groupId>
  115. <artifactId>spring-boot-starter-actuator</artifactId>
  116. <scope>compile</scope>
  117. </dependency>
  118. <!-- spring security start -->
  119. <dependency>
  120. <groupId>org.springframework.boot</groupId>
  121. <artifactId>spring-boot-starter-security</artifactId>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.springframework.security.oauth</groupId>
  125. <artifactId>spring-security-oauth2</artifactId>
  126. </dependency>
  127. <dependency>
  128. <groupId>cn.kdan.pdf.office</groupId>
  129. <artifactId>pdf-office-api-account</artifactId>
  130. <version>0.0.1</version>
  131. <scope>compile</scope>
  132. </dependency>
  133. <dependency>
  134. <groupId>cn.hutool</groupId>
  135. <artifactId>hutool-all</artifactId>
  136. <version>5.8.2</version>
  137. <scope>compile</scope>
  138. </dependency>
  139. <!-- ZXing Dependency hutool生成二维码使用-->
  140. <dependency>
  141. <groupId>com.google.zxing</groupId>
  142. <artifactId>core</artifactId>
  143. <version>3.4.1</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.google.zxing</groupId>
  147. <artifactId>javase</artifactId>
  148. <version>3.4.1</version>
  149. </dependency>
  150. <!-- end -->
  151. </dependencies>
  152. <build>
  153. <finalName>pdf-office-website</finalName>
  154. <resources>
  155. <resource>
  156. <directory>src/main/resources</directory>
  157. <includes>
  158. <include>**/*</include>
  159. </includes>
  160. <filtering>true</filtering>
  161. </resource>
  162. </resources>
  163. <plugins>
  164. <plugin>
  165. <groupId>org.springframework.boot</groupId>
  166. <artifactId>spring-boot-maven-plugin</artifactId>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-surefire-plugin</artifactId>
  171. <version>2.22.2</version>
  172. <configuration>
  173. <skipTests>true</skipTests>
  174. </configuration>
  175. </plugin>
  176. <plugin>
  177. <groupId>com.spotify</groupId>
  178. <artifactId>docker-maven-plugin</artifactId>
  179. <version>${docker.version}</version>
  180. <configuration>
  181. <!-- Docker 远程管理地址-->
  182. <dockerHost>http://${docker.host}</dockerHost>
  183. <!--镜像名称-->
  184. <imageName>${project.artifactId}</imageName>
  185. <!--Dockerfile-->
  186. <dockerDirectory>${project.basedir}/docker</dockerDirectory>
  187. <!--插件会将需要的资源拷贝到docker目录下,供Dockerfile里构建镜像使用-->
  188. <resources>
  189. <resource>
  190. <targetPath>/</targetPath>
  191. <directory>${project.build.directory}</directory>
  192. <include>${project.build.finalName}.jar</include>
  193. </resource>
  194. </resources>
  195. </configuration>
  196. </plugin>
  197. </plugins>
  198. </build>
  199. </project>