pom.xml 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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. <artifactId>backend</artifactId>
  6. <groupId>cn.kdan.17pdf</groupId>
  7. <version>0.0.1</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <groupId>cn.kdan.pdf1</groupId>
  11. <artifactId>backend-core</artifactId>
  12. <name>backend-core</name>
  13. <url>http://maven.apache.org</url>
  14. <dependencies>
  15. <dependency>
  16. <groupId>cn.kdan.17pdf</groupId>
  17. <artifactId>backend-common</artifactId>
  18. <version>0.0.1</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. <exclusions>
  24. <exclusion>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-logging</artifactId>
  27. </exclusion>
  28. </exclusions>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.mybatis.spring.boot</groupId>
  32. <artifactId>mybatis-spring-boot-starter</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.github.pagehelper</groupId>
  36. <artifactId>pagehelper-spring-boot-starter</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-configuration-processor</artifactId>
  41. <optional>true</optional>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-aop</artifactId>
  46. </dependency>
  47. <!-- logback -->
  48. <dependency>
  49. <groupId>ch.qos.logback</groupId>
  50. <artifactId>logback-classic</artifactId>
  51. <version>1.2.3</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>ch.qos.logback</groupId>
  55. <artifactId>logback-core</artifactId>
  56. <version>1.2.3</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.logback-extensions</groupId>
  60. <artifactId>logback-ext-spring</artifactId>
  61. <version>0.1.4</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.slf4j</groupId>
  65. <artifactId>jcl-over-slf4j</artifactId>
  66. <version>1.7.25</version>
  67. </dependency>
  68. <!-- logback -->
  69. <dependency>
  70. <groupId>mysql</groupId>
  71. <artifactId>mysql-connector-java</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>com.alibaba</groupId>
  75. <artifactId>druid</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-test</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <!-- spring security start -->
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-security</artifactId>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.springframework.session</groupId>
  89. <artifactId>spring-session-data-redis</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.springframework.security.oauth</groupId>
  93. <artifactId>spring-security-oauth2</artifactId>
  94. <exclusions>
  95. <exclusion>
  96. <groupId>org.springframework</groupId>
  97. <artifactId>spring-beans</artifactId>
  98. </exclusion>
  99. <exclusion>
  100. <groupId>org.springframework</groupId>
  101. <artifactId>spring-core</artifactId>
  102. </exclusion>
  103. <exclusion>
  104. <groupId>org.springframework</groupId>
  105. <artifactId>spring-context</artifactId>
  106. </exclusion>
  107. <exclusion>
  108. <groupId>org.springframework</groupId>
  109. <artifactId>spring-webmvc</artifactId>
  110. </exclusion>
  111. </exclusions>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.springframework.security.oauth.boot</groupId>
  115. <artifactId>spring-security-oauth2-autoconfigure</artifactId>
  116. </dependency>
  117. <!-- end -->
  118. <dependency>
  119. <groupId>org.projectlombok</groupId>
  120. <artifactId>lombok</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.aspectj</groupId>
  124. <artifactId>aspectjweaver</artifactId>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.commons</groupId>
  128. <artifactId>commons-lang3</artifactId>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.springframework.boot</groupId>
  132. <artifactId>spring-boot-starter-validation</artifactId>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.springframework.boot</groupId>
  136. <artifactId>spring-boot-starter-test</artifactId>
  137. </dependency>
  138. <dependency>
  139. <groupId>org.kie.modules</groupId>
  140. <artifactId>org-apache-commons-httpclient</artifactId>
  141. <version>6.2.0.CR2</version>
  142. <type>pom</type>
  143. </dependency>
  144. <dependency>
  145. <groupId>com.alipay.sdk</groupId>
  146. <artifactId>alipay-sdk-java</artifactId>
  147. <version>4.31.72.ALL</version>
  148. </dependency>
  149. <!-- oss上传 -->
  150. <dependency>
  151. <groupId>com.aliyun.oss</groupId>
  152. <artifactId>aliyun-sdk-oss</artifactId>
  153. <version>3.15.1</version>
  154. </dependency>
  155. </dependencies>
  156. <build>
  157. <finalName>backend-core</finalName>
  158. <resources>
  159. <resource>
  160. <directory>src/main/resources</directory>
  161. <includes>
  162. <include>**/*</include>
  163. </includes>
  164. <filtering>true</filtering>
  165. </resource>
  166. </resources>
  167. <plugins>
  168. <plugin>
  169. <groupId>org.springframework.boot</groupId>
  170. <artifactId>spring-boot-maven-plugin</artifactId>
  171. </plugin>
  172. <plugin>
  173. <groupId>org.mybatis.generator</groupId>
  174. <artifactId>mybatis-generator-maven-plugin</artifactId>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.apache.maven.plugins</groupId>
  178. <artifactId>maven-surefire-plugin</artifactId>
  179. <version>2.22.2</version>
  180. <configuration>
  181. <skipTests>true</skipTests>
  182. </configuration>
  183. </plugin>
  184. <plugin>
  185. <groupId>com.spotify</groupId>
  186. <artifactId>docker-maven-plugin</artifactId>
  187. <version>${docker.version}</version>
  188. <configuration>
  189. <!-- Docker 远程管理地址-->
  190. <dockerHost>http://${docker.host}</dockerHost>
  191. <!--镜像名称-->
  192. <imageName>${project.artifactId}</imageName>
  193. <!--Dockerfile-->
  194. <dockerDirectory>${project.basedir}/docker</dockerDirectory>
  195. <!--插件会将需要的资源拷贝到docker目录下,供Dockerfile里构建镜像使用-->
  196. <resources>
  197. <resource>
  198. <targetPath>/</targetPath>
  199. <directory>${project.build.directory}</directory>
  200. <include>${project.build.finalName}.jar</include>
  201. </resource>
  202. </resources>
  203. </configuration>
  204. </plugin>
  205. </plugins>
  206. </build>
  207. </project>