pom.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  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.5</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. <!-- poi start -->
  166. <!-- <dependency>-->
  167. <!-- <groupId>org.apache.poi</groupId>-->
  168. <!-- <artifactId>poi</artifactId>-->
  169. <!-- <version>3.17</version>-->
  170. <!-- </dependency>-->
  171. <!-- <dependency>-->
  172. <!-- <groupId>org.apache.poi</groupId>-->
  173. <!-- <artifactId>poi-ooxml</artifactId>-->
  174. <!-- <version>3.17</version>-->
  175. <!-- </dependency>-->
  176. <!-- <dependency>-->
  177. <!-- <groupId>org.apache.poi</groupId>-->
  178. <!-- <artifactId>poi-ooxml-schemas</artifactId>-->
  179. <!-- <version>3.17</version>-->
  180. <!-- </dependency>-->
  181. <!-- poi end -->
  182. <dependency>
  183. <groupId>dom4j</groupId>
  184. <artifactId>dom4j</artifactId>
  185. <version>1.6.1</version>
  186. </dependency>
  187. <dependency>
  188. <groupId>javax.validation</groupId>
  189. <artifactId>validation-api</artifactId>
  190. <version>2.0.1.Final</version>
  191. </dependency>
  192. <dependency>
  193. <groupId>org.hibernate.validator</groupId>
  194. <artifactId>hibernate-validator</artifactId>
  195. <version>6.0.13.Final</version>
  196. </dependency>
  197. <!-- test start -->
  198. <dependency>
  199. <groupId>junit</groupId>
  200. <artifactId>junit</artifactId>
  201. <version>4.12</version>
  202. <scope>test</scope>
  203. </dependency>
  204. <!-- test end -->
  205. <dependency>
  206. <groupId>io.springfox</groupId>
  207. <artifactId>springfox-swagger2</artifactId>
  208. <version>2.9.2</version>
  209. </dependency>
  210. <!-- swagger-ui -->
  211. <dependency>
  212. <groupId>io.springfox</groupId>
  213. <artifactId>springfox-swagger-ui</artifactId>
  214. <version>2.9.2</version>
  215. </dependency>
  216. <!-- security start-->
  217. <dependency>
  218. <groupId>com.google.guava</groupId>
  219. <artifactId>guava</artifactId>
  220. <version>20.0</version>
  221. </dependency>
  222. <dependency>
  223. <groupId>org.springframework.boot</groupId>
  224. <artifactId>spring-boot-starter-security</artifactId>
  225. <version>2.3.0.RELEASE</version>
  226. <exclusions>
  227. <exclusion>
  228. <artifactId>spring-security-oauth2</artifactId>
  229. <groupId>org.springframework.security.oauth</groupId>
  230. </exclusion>
  231. </exclusions>
  232. </dependency>
  233. <dependency>
  234. <groupId>org.springframework.security.oauth</groupId>
  235. <artifactId>spring-security-oauth2</artifactId>
  236. <version>2.3.8.RELEASE</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.springframework.security.oauth.boot</groupId>
  240. <artifactId>spring-security-oauth2-autoconfigure</artifactId>
  241. <version>2.3.0.RELEASE</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>org.springframework.security</groupId>
  245. <artifactId>spring-security-core</artifactId>
  246. <version>5.3.3.RELEASE</version>
  247. </dependency>
  248. <!-- security end -->
  249. <dependency>
  250. <groupId>org.apache.commons</groupId>
  251. <artifactId>commons-pool2</artifactId>
  252. <version>2.8.0</version>
  253. </dependency>
  254. <!--email发送-->
  255. <dependency>
  256. <groupId>org.springframework.boot</groupId>
  257. <artifactId>spring-boot-starter-mail</artifactId>
  258. <version>2.3.2.RELEASE</version>
  259. </dependency>
  260. <dependency>
  261. <groupId>org.jsoup</groupId>
  262. <artifactId>jsoup</artifactId>
  263. <version>1.13.1</version>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.bouncycastle</groupId>
  267. <artifactId>bcprov-jdk16</artifactId>
  268. <version>1.46</version>
  269. </dependency>
  270. </dependencies>
  271. </dependencyManagement>
  272. <modules>
  273. <module>pdf-tech-core</module>
  274. <module>pdf-tech-common</module>
  275. </modules>
  276. <profiles>
  277. <!-- 本地开发环境 -->
  278. <profile>
  279. <id>local</id>
  280. <activation>
  281. <activeByDefault>true</activeByDefault>
  282. </activation>
  283. <properties>
  284. <spring.profiles.active>local</spring.profiles.active>
  285. </properties>
  286. </profile>
  287. <!-- 测试环境 -->
  288. <profile>
  289. <id>test</id>
  290. <activation>
  291. <activeByDefault>false</activeByDefault>
  292. </activation>
  293. <properties>
  294. <spring.profiles.active>test</spring.profiles.active>
  295. </properties>
  296. </profile>
  297. <!-- 生产环境 -->
  298. <profile>
  299. <id>pro</id>
  300. <activation>
  301. <activeByDefault>false</activeByDefault>
  302. </activation>
  303. <properties>
  304. <spring.profiles.active>pro</spring.profiles.active>
  305. </properties>
  306. </profile>
  307. </profiles>
  308. </project>