pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  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. <!-- <dependency>-->
  53. <!-- <groupId>com.squareup.okhttp3</groupId>-->
  54. <!-- <artifactId>okhttp</artifactId>-->
  55. <!-- <version>3.10.0</version>-->
  56. <!-- </dependency>-->
  57. <!-- logback -->
  58. <dependency>
  59. <groupId>ch.qos.logback</groupId>
  60. <artifactId>logback-classic</artifactId>
  61. <version>1.2.3</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>ch.qos.logback</groupId>
  65. <artifactId>logback-core</artifactId>
  66. <version>1.2.3</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.logback-extensions</groupId>
  70. <artifactId>logback-ext-spring</artifactId>
  71. <version>0.1.4</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.slf4j</groupId>
  75. <artifactId>jcl-over-slf4j</artifactId>
  76. <version>1.7.25</version>
  77. </dependency>
  78. <!-- logback -->
  79. <dependency>
  80. <groupId>org.postgresql</groupId>
  81. <artifactId>postgresql</artifactId>
  82. <version>42.3.7</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>com.alibaba</groupId>
  86. <artifactId>druid</artifactId>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.springframework.boot</groupId>
  90. <artifactId>spring-boot-starter-test</artifactId>
  91. <scope>test</scope>
  92. </dependency>
  93. <!-- spring security start -->
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-starter-security</artifactId>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.springframework.session</groupId>
  100. <artifactId>spring-session-data-redis</artifactId>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.springframework.security.oauth</groupId>
  104. <artifactId>spring-security-oauth2</artifactId>
  105. <exclusions>
  106. <exclusion>
  107. <groupId>org.springframework</groupId>
  108. <artifactId>spring-beans</artifactId>
  109. </exclusion>
  110. <exclusion>
  111. <groupId>org.springframework</groupId>
  112. <artifactId>spring-core</artifactId>
  113. </exclusion>
  114. <exclusion>
  115. <groupId>org.springframework</groupId>
  116. <artifactId>spring-context</artifactId>
  117. </exclusion>
  118. <exclusion>
  119. <groupId>org.springframework</groupId>
  120. <artifactId>spring-webmvc</artifactId>
  121. </exclusion>
  122. </exclusions>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.springframework.security.oauth.boot</groupId>
  126. <artifactId>spring-security-oauth2-autoconfigure</artifactId>
  127. </dependency>
  128. <!-- end -->
  129. <dependency>
  130. <groupId>org.projectlombok</groupId>
  131. <artifactId>lombok</artifactId>
  132. </dependency>
  133. <dependency>
  134. <groupId>org.aspectj</groupId>
  135. <artifactId>aspectjweaver</artifactId>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.apache.commons</groupId>
  139. <artifactId>commons-lang3</artifactId>
  140. </dependency>
  141. <dependency>
  142. <groupId>org.springframework.boot</groupId>
  143. <artifactId>spring-boot-starter-validation</artifactId>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework.boot</groupId>
  147. <artifactId>spring-boot-starter-test</artifactId>
  148. </dependency>
  149. <dependency>
  150. <groupId>com.alibaba.cloud</groupId>
  151. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  152. </dependency>
  153. <!--hutool工具包-->
  154. <dependency>
  155. <groupId>cn.hutool</groupId>
  156. <artifactId>hutool-all</artifactId>
  157. <version>5.8.2</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>dnsjava</groupId>
  161. <artifactId>dnsjava</artifactId>
  162. <version>2.1.8</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>com.microsoft.kiota</groupId>
  166. <artifactId>microsoft-kiota-serialization-json</artifactId>
  167. <version>1.0.3</version>
  168. </dependency>
  169. <dependency>
  170. <!-- Include the sdk as a dependency -->
  171. <groupId>com.microsoft.graph</groupId>
  172. <artifactId>microsoft-graph</artifactId>
  173. <version>6.5.0</version>
  174. </dependency>
  175. <dependency>
  176. <!-- This dependency is only needed if you are using a TokenCredential object for authentication -->
  177. <groupId>com.azure</groupId>
  178. <artifactId>azure-identity</artifactId>
  179. <version>1.11.0</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>io.projectreactor</groupId>
  183. <artifactId>reactor-core</artifactId>
  184. <version>3.4.33</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>io.github.std-uritemplate</groupId>
  188. <artifactId>std-uritemplate</artifactId>
  189. <version>0.0.54</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.quartz-scheduler</groupId>
  193. <artifactId>quartz</artifactId>
  194. <version>2.3.2</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.apache.httpcomponents</groupId>
  198. <artifactId>httpclient</artifactId>
  199. <version>4.5.13</version> <!-- 或者使用最新版本 -->
  200. </dependency>
  201. </dependencies>
  202. <dependencyManagement>
  203. <dependencies>
  204. <dependency>
  205. <groupId>com.alibaba.cloud</groupId>
  206. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  207. <version>2.2.5.RELEASE</version>
  208. <type>pom</type>
  209. <scope>import</scope>
  210. </dependency>
  211. </dependencies>
  212. </dependencyManagement>
  213. <build>
  214. <finalName>pdf-tech-core</finalName>
  215. <resources>
  216. <resource>
  217. <directory>src/main/resources</directory>
  218. <includes>
  219. <include>**/*</include>
  220. </includes>
  221. <filtering>true</filtering>
  222. </resource>
  223. </resources>
  224. <plugins>
  225. <plugin>
  226. <groupId>org.springframework.boot</groupId>
  227. <artifactId>spring-boot-maven-plugin</artifactId>
  228. </plugin>
  229. <plugin>
  230. <groupId>org.mybatis.generator</groupId>
  231. <artifactId>mybatis-generator-maven-plugin</artifactId>
  232. <dependencies>
  233. <dependency>
  234. <groupId>org.postgresql</groupId>
  235. <artifactId>postgresql</artifactId>
  236. <version>42.3.7</version>
  237. </dependency>
  238. </dependencies>
  239. </plugin>
  240. <plugin>
  241. <groupId>org.apache.maven.plugins</groupId>
  242. <artifactId>maven-surefire-plugin</artifactId>
  243. <version>2.22.2</version>
  244. <configuration>
  245. <skipTests>true</skipTests>
  246. </configuration>
  247. </plugin>
  248. <plugin>
  249. <groupId>com.spotify</groupId>
  250. <artifactId>docker-maven-plugin</artifactId>
  251. <version>${docker.version}</version>
  252. <configuration>
  253. <!-- Docker 远程管理地址-->
  254. <dockerHost>http://${docker.host}</dockerHost>
  255. <!--镜像名称-->
  256. <imageName>${project.artifactId}</imageName>
  257. <!--Dockerfile-->
  258. <dockerDirectory>${project.basedir}/docker</dockerDirectory>
  259. <!--插件会将需要的资源拷贝到docker目录下,供Dockerfile里构建镜像使用-->
  260. <resources>
  261. <resource>
  262. <targetPath>/</targetPath>
  263. <directory>${project.build.directory}</directory>
  264. <include>${project.build.finalName}.jar</include>
  265. </resource>
  266. </resources>
  267. </configuration>
  268. </plugin>
  269. </plugins>
  270. </build>
  271. </project>