pom.xml 6.4 KB

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