pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <artifactId>backend</artifactId>
  5. <packaging>pom</packaging>
  6. <groupId>cn.kdan.pdf.tech</groupId>
  7. <version>0.0.1</version>
  8. <name>pdf-tech</name>
  9. <description>项目总模块</description>
  10. <url>http://maven.apache.org</url>
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>2.3.2.RELEASE</version>
  15. </parent>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <java.version>1.8</java.version>
  20. <mybatis.generator.configurationFile>${basedir}/src/main/resources/generatorConfig.xml</mybatis.generator.configurationFile>
  21. <mybatis.generator.overwrite>true</mybatis.generator.overwrite>
  22. <docker.path>src/main/docker</docker.path>
  23. <docker.version>1.2.2</docker.version>
  24. <docker.host>81.68.234.235:12375</docker.host>
  25. </properties>
  26. <dependencyManagement>
  27. <dependencies>
  28. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  29. <dependency>
  30. <groupId>org.projectlombok</groupId>
  31. <artifactId>lombok</artifactId>
  32. <version>1.18.8</version>
  33. <scope>provided</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.cloud</groupId>
  37. <artifactId>spring-cloud-dependencies</artifactId>
  38. <version>Greenwich.RELEASE</version>
  39. <type>pom</type>
  40. <scope>import</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.fasterxml.jackson.core</groupId>
  44. <artifactId>jackson-databind</artifactId>
  45. <version>2.11.0</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.fasterxml.jackson.core</groupId>
  49. <artifactId>jackson-annotations</artifactId>
  50. <version>2.9.5</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.httpcomponents</groupId>
  54. <artifactId>httpcore</artifactId>
  55. <version>4.4.9</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.apache.httpcomponents</groupId>
  59. <artifactId>httpclient</artifactId>
  60. <version>4.5.13</version> <!-- 或者使用最新版本 -->
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.httpcomponents</groupId>
  64. <artifactId>httpmime</artifactId>
  65. <version>4.5.5</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.github.pagehelper</groupId>
  69. <artifactId>pagehelper</artifactId>
  70. <version>5.1.8</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.aspectj</groupId>
  74. <artifactId>aspectjweaver</artifactId>
  75. <version>1.8.13</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>commons-fileupload</groupId>
  79. <artifactId>commons-fileupload</artifactId>
  80. <version>1.2.1</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>commons-io</groupId>
  84. <artifactId>commons-io</artifactId>
  85. <version>2.4</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>commons-lang</groupId>
  89. <artifactId>commons-lang</artifactId>
  90. <version>2.6</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>commons-codec</groupId>
  94. <artifactId>commons-codec</artifactId>
  95. <version>1.8</version>
  96. </dependency>
  97. <!-- logback -->
  98. <dependency>
  99. <groupId>ch.qos.logback</groupId>
  100. <artifactId>logback-classic</artifactId>
  101. <version>1.2.3</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>ch.qos.logback</groupId>
  105. <artifactId>logback-core</artifactId>
  106. <version>1.2.3</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.logback-extensions</groupId>
  110. <artifactId>logback-ext-spring</artifactId>
  111. <version>0.1.4</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.slf4j</groupId>
  115. <artifactId>slf4j-api</artifactId>
  116. <version>1.7.25</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.slf4j</groupId>
  120. <artifactId>jcl-over-slf4j</artifactId>
  121. <version>1.7.25</version>
  122. </dependency>
  123. <!-- logback -->
  124. <dependency>
  125. <groupId>com.alibaba</groupId>
  126. <artifactId>druid</artifactId>
  127. <version>1.1.10</version>
  128. </dependency>
  129. <dependency>
  130. <groupId>com.alibaba</groupId>
  131. <artifactId>druid-spring-boot-starter</artifactId>
  132. <version>1.1.10</version>
  133. </dependency>
  134. <dependency>
  135. <groupId>org.mybatis.spring.boot</groupId>
  136. <artifactId>mybatis-spring-boot-starter</artifactId>
  137. <version>1.3.1</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>com.github.pagehelper</groupId>
  141. <artifactId>pagehelper-spring-boot-starter</artifactId>
  142. <version>1.2.10</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>mysql</groupId>
  146. <artifactId>mysql-connector-java</artifactId>
  147. <version>8.0.11</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.postgresql</groupId>
  151. <artifactId>postgresql</artifactId>
  152. <version>42.3.3</version>
  153. </dependency>
  154. <!-- <dependency>-->
  155. <!-- <groupId>com.google.code.gson</groupId>-->
  156. <!-- <artifactId>gson</artifactId>-->
  157. <!-- <version>2.7</version>-->
  158. <!-- </dependency>-->
  159. <dependency>
  160. <groupId>com.alibaba</groupId>
  161. <artifactId>fastjson</artifactId>
  162. <version>1.2.51</version>
  163. <scope>compile</scope>
  164. </dependency>
  165. <!-- <dependency>-->
  166. <!-- <groupId>dom4j</groupId>-->
  167. <!-- <artifactId>dom4j</artifactId>-->
  168. <!-- <version>1.6.1</version>-->
  169. <!-- </dependency>-->
  170. <dependency>
  171. <groupId>javax.validation</groupId>
  172. <artifactId>validation-api</artifactId>
  173. <version>2.0.1.Final</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.hibernate.validator</groupId>
  177. <artifactId>hibernate-validator</artifactId>
  178. <version>6.0.13.Final</version>
  179. </dependency>
  180. <!-- test start -->
  181. <dependency>
  182. <groupId>junit</groupId>
  183. <artifactId>junit</artifactId>
  184. <version>4.12</version>
  185. <scope>test</scope>
  186. </dependency>
  187. <!-- test end -->
  188. <dependency>
  189. <groupId>io.springfox</groupId>
  190. <artifactId>springfox-swagger2</artifactId>
  191. <version>2.9.2</version>
  192. </dependency>
  193. <!-- swagger-ui -->
  194. <dependency>
  195. <groupId>io.springfox</groupId>
  196. <artifactId>springfox-swagger-ui</artifactId>
  197. <version>2.9.2</version>
  198. </dependency>
  199. <!-- security start-->
  200. <dependency>
  201. <groupId>com.google.guava</groupId>
  202. <artifactId>guava</artifactId>
  203. <version>20.0</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>org.springframework.boot</groupId>
  207. <artifactId>spring-boot-starter-security</artifactId>
  208. <version>2.3.0.RELEASE</version>
  209. <exclusions>
  210. <exclusion>
  211. <artifactId>spring-security-oauth2</artifactId>
  212. <groupId>org.springframework.security.oauth</groupId>
  213. </exclusion>
  214. </exclusions>
  215. </dependency>
  216. <dependency>
  217. <groupId>org.springframework.security.oauth</groupId>
  218. <artifactId>spring-security-oauth2</artifactId>
  219. <version>2.3.8.RELEASE</version>
  220. </dependency>
  221. <dependency>
  222. <groupId>org.springframework.security.oauth.boot</groupId>
  223. <artifactId>spring-security-oauth2-autoconfigure</artifactId>
  224. <version>2.3.0.RELEASE</version>
  225. </dependency>
  226. <dependency>
  227. <groupId>org.springframework.security</groupId>
  228. <artifactId>spring-security-core</artifactId>
  229. <version>5.3.3.RELEASE</version>
  230. </dependency>
  231. <!-- security end -->
  232. <dependency>
  233. <groupId>org.apache.commons</groupId>
  234. <artifactId>commons-pool2</artifactId>
  235. <version>2.8.0</version>
  236. </dependency>
  237. <!--email发送-->
  238. <dependency>
  239. <groupId>org.springframework.boot</groupId>
  240. <artifactId>spring-boot-starter-mail</artifactId>
  241. <version>2.3.2.RELEASE</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>org.jsoup</groupId>
  245. <artifactId>jsoup</artifactId>
  246. <version>1.13.1</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>org.bouncycastle</groupId>
  250. <artifactId>bcprov-jdk16</artifactId>
  251. <version>1.46</version>
  252. </dependency>
  253. </dependencies>
  254. </dependencyManagement>
  255. <modules>
  256. <module>pdf-tech-core</module>
  257. <module>pdf-tech-common</module>
  258. </modules>
  259. <profiles>
  260. <!-- 本地开发环境 -->
  261. <profile>
  262. <id>local</id>
  263. <activation>
  264. <activeByDefault>true</activeByDefault>
  265. </activation>
  266. <properties>
  267. <spring.profiles.active>local</spring.profiles.active>
  268. </properties>
  269. </profile>
  270. <!-- 测试环境 -->
  271. <profile>
  272. <id>test</id>
  273. <activation>
  274. <activeByDefault>false</activeByDefault>
  275. </activation>
  276. <properties>
  277. <spring.profiles.active>test</spring.profiles.active>
  278. </properties>
  279. </profile>
  280. <!-- 生产环境 -->
  281. <profile>
  282. <id>pro</id>
  283. <activation>
  284. <activeByDefault>false</activeByDefault>
  285. </activation>
  286. <properties>
  287. <spring.profiles.active>pro</spring.profiles.active>
  288. </properties>
  289. </profile>
  290. </profiles>
  291. </project>