pom.xml 8.6 KB

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