pom.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  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.office</groupId>
  7. <version>0.0.1</version>
  8. <name>pdf-office</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. <mybatis.plus.version>3.5.2</mybatis.plus.version>
  26. <cloud.version>Hoxton.SR9</cloud.version>
  27. <alibaba.cloud.version>2.2.6.RELEASE</alibaba.cloud.version>
  28. </properties>
  29. <build>
  30. <finalName>pdf-office-back-end</finalName>
  31. <pluginManagement>
  32. <plugins>
  33. <plugin>
  34. <groupId>org.mybatis.generator</groupId>
  35. <artifactId>mybatis-generator-maven-plugin</artifactId>
  36. <version>1.3.6</version>
  37. <dependencies>
  38. <dependency>
  39. <groupId>mysql</groupId>
  40. <artifactId>mysql-connector-java</artifactId>
  41. <version>8.0.11</version>
  42. </dependency>
  43. </dependencies>
  44. </plugin>
  45. <plugin>
  46. <groupId>com.spotify</groupId>
  47. <artifactId>docker-maven-plugin</artifactId>
  48. <version>1.2.0</version>
  49. </plugin>
  50. <plugin>
  51. <groupId>org.apache.maven.plugins</groupId>
  52. <artifactId>maven-compiler-plugin</artifactId>
  53. <version>2.3.2</version>
  54. <configuration>
  55. <source>1.8</source>
  56. <target>1.8</target>
  57. </configuration>
  58. </plugin>
  59. </plugins>
  60. </pluginManagement>
  61. </build>
  62. <dependencyManagement>
  63. <dependencies>
  64. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  65. <dependency>
  66. <groupId>org.projectlombok</groupId>
  67. <artifactId>lombok</artifactId>
  68. <version>1.18.8</version>
  69. <scope>provided</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.springframework.cloud</groupId>
  73. <artifactId>spring-cloud-dependencies</artifactId>
  74. <version>Greenwich.RELEASE</version>
  75. <type>pom</type>
  76. <scope>import</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.fasterxml.jackson.core</groupId>
  80. <artifactId>jackson-databind</artifactId>
  81. <version>2.11.0</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.fasterxml.jackson.core</groupId>
  85. <artifactId>jackson-annotations</artifactId>
  86. <version>2.9.5</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.apache.httpcomponents</groupId>
  90. <artifactId>httpcore</artifactId>
  91. <version>4.4.9</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.httpcomponents</groupId>
  95. <artifactId>httpclient</artifactId>
  96. <version>4.5.5</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.apache.httpcomponents</groupId>
  100. <artifactId>httpmime</artifactId>
  101. <version>4.5.5</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.github.pagehelper</groupId>
  105. <artifactId>pagehelper</artifactId>
  106. <version>5.1.8</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>org.aspectj</groupId>
  110. <artifactId>aspectjweaver</artifactId>
  111. <version>1.8.13</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>commons-fileupload</groupId>
  115. <artifactId>commons-fileupload</artifactId>
  116. <version>1.2.1</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>commons-io</groupId>
  120. <artifactId>commons-io</artifactId>
  121. <version>2.4</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>commons-lang</groupId>
  125. <artifactId>commons-lang</artifactId>
  126. <version>2.6</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>commons-codec</groupId>
  130. <artifactId>commons-codec</artifactId>
  131. <version>1.8</version>
  132. </dependency>
  133. <!-- logback -->
  134. <dependency>
  135. <groupId>ch.qos.logback</groupId>
  136. <artifactId>logback-classic</artifactId>
  137. <version>1.2.3</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>ch.qos.logback</groupId>
  141. <artifactId>logback-core</artifactId>
  142. <version>1.2.3</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.logback-extensions</groupId>
  146. <artifactId>logback-ext-spring</artifactId>
  147. <version>0.1.4</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.slf4j</groupId>
  151. <artifactId>slf4j-api</artifactId>
  152. <version>1.7.25</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.slf4j</groupId>
  156. <artifactId>jcl-over-slf4j</artifactId>
  157. <version>1.7.25</version>
  158. </dependency>
  159. <!-- logback -->
  160. <dependency>
  161. <groupId>com.alibaba</groupId>
  162. <artifactId>druid</artifactId>
  163. <version>1.1.10</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>com.alibaba</groupId>
  167. <artifactId>druid-spring-boot-starter</artifactId>
  168. <version>1.1.10</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.mybatis.spring.boot</groupId>
  172. <artifactId>mybatis-spring-boot-starter</artifactId>
  173. <version>1.3.1</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>com.github.pagehelper</groupId>
  177. <artifactId>pagehelper-spring-boot-starter</artifactId>
  178. <version>1.2.10</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>mysql</groupId>
  182. <artifactId>mysql-connector-java</artifactId>
  183. <version>8.0.11</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>com.google.code.gson</groupId>
  187. <artifactId>gson</artifactId>
  188. <version>2.7</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>com.alibaba</groupId>
  192. <artifactId>fastjson</artifactId>
  193. <version>1.2.51</version>
  194. <scope>compile</scope>
  195. </dependency>
  196. <dependency>
  197. <groupId>dom4j</groupId>
  198. <artifactId>dom4j</artifactId>
  199. <version>1.6.1</version>
  200. </dependency>
  201. <dependency>
  202. <groupId>javax.validation</groupId>
  203. <artifactId>validation-api</artifactId>
  204. <version>2.0.1.Final</version>
  205. </dependency>
  206. <dependency>
  207. <groupId>org.hibernate.validator</groupId>
  208. <artifactId>hibernate-validator</artifactId>
  209. <version>6.0.13.Final</version>
  210. </dependency>
  211. <!-- test start -->
  212. <dependency>
  213. <groupId>junit</groupId>
  214. <artifactId>junit</artifactId>
  215. <version>4.12</version>
  216. <scope>test</scope>
  217. </dependency>
  218. <!-- test end -->
  219. <dependency>
  220. <groupId>io.springfox</groupId>
  221. <artifactId>springfox-swagger2</artifactId>
  222. <version>2.9.2</version>
  223. </dependency>
  224. <!-- swagger-ui -->
  225. <dependency>
  226. <groupId>io.springfox</groupId>
  227. <artifactId>springfox-swagger-ui</artifactId>
  228. <version>2.9.2</version>
  229. </dependency>
  230. <!-- security start-->
  231. <dependency>
  232. <groupId>com.google.guava</groupId>
  233. <artifactId>guava</artifactId>
  234. <version>20.0</version>
  235. </dependency>
  236. <dependency>
  237. <groupId>org.springframework.boot</groupId>
  238. <artifactId>spring-boot-starter-security</artifactId>
  239. <version>2.3.0.RELEASE</version>
  240. <exclusions>
  241. <exclusion>
  242. <artifactId>spring-security-oauth2</artifactId>
  243. <groupId>org.springframework.security.oauth</groupId>
  244. </exclusion>
  245. </exclusions>
  246. </dependency>
  247. <dependency>
  248. <groupId>org.springframework.security.oauth</groupId>
  249. <artifactId>spring-security-oauth2</artifactId>
  250. <version>2.3.8.RELEASE</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>org.springframework.security.oauth.boot</groupId>
  254. <artifactId>spring-security-oauth2-autoconfigure</artifactId>
  255. <version>2.3.0.RELEASE</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>org.springframework.security</groupId>
  259. <artifactId>spring-security-core</artifactId>
  260. <version>5.3.3.RELEASE</version>
  261. </dependency>
  262. <!-- security end -->
  263. <dependency>
  264. <groupId>org.apache.commons</groupId>
  265. <artifactId>commons-pool2</artifactId>
  266. <version>2.8.0</version>
  267. </dependency>
  268. <!--email发送-->
  269. <dependency>
  270. <groupId>org.springframework.boot</groupId>
  271. <artifactId>spring-boot-starter-mail</artifactId>
  272. <version>2.3.2.RELEASE</version>
  273. </dependency>
  274. <dependency>
  275. <groupId>org.jsoup</groupId>
  276. <artifactId>jsoup</artifactId>
  277. <version>1.13.1</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.bouncycastle</groupId>
  281. <artifactId>bcprov-jdk16</artifactId>
  282. <version>1.46</version>
  283. </dependency>
  284. <dependency>
  285. <groupId>com.baomidou</groupId>
  286. <artifactId>mybatis-plus-annotation</artifactId>
  287. <version>${mybatis.plus.version}</version>
  288. <scope>compile</scope>
  289. </dependency>
  290. <!--SpringCloud-->
  291. <dependency>
  292. <groupId>org.springframework.cloud</groupId>
  293. <artifactId>spring-cloud-dependencies</artifactId>
  294. <version>${cloud.version}</version>
  295. <type>pom</type>
  296. <scope>import</scope>
  297. </dependency>
  298. <!--cloud alibaba-->
  299. <dependency>
  300. <groupId>com.alibaba.cloud</groupId>
  301. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  302. <version>${alibaba.cloud.version}</version>
  303. <type>pom</type>
  304. <scope>import</scope>
  305. </dependency>
  306. <dependency>
  307. <groupId>commons-beanutils</groupId>
  308. <artifactId>commons-beanutils</artifactId>
  309. <version>1.9.4</version>
  310. </dependency>
  311. </dependencies>
  312. </dependencyManagement>
  313. <modules>
  314. <module>pdf-office-common</module>
  315. <module>pdf-office-sso</module>
  316. <module>pdf-office-account</module>
  317. <module>pdf-office-gateway</module>
  318. <module>pdf-office-payment</module>
  319. <module>pdf-office-api</module>
  320. <module>pdf-office-email</module>
  321. <module>pdf-office-generate</module>
  322. <module>pdf-office-app</module>
  323. <module>pdf-office-pdf-website</module>
  324. <module>pdf-office-system</module>
  325. <module>pdf-office-product</module>
  326. </modules>
  327. <profiles>
  328. <!-- 本地开发环境 -->
  329. <profile>
  330. <id>local</id>
  331. <activation>
  332. <activeByDefault>true</activeByDefault>
  333. </activation>
  334. <properties>
  335. <spring.profiles.active>local</spring.profiles.active>
  336. </properties>
  337. </profile>
  338. <!-- 测试环境 -->
  339. <profile>
  340. <id>dev</id>
  341. <activation>
  342. <activeByDefault>false</activeByDefault>
  343. </activation>
  344. <properties>
  345. <spring.profiles.active>dev</spring.profiles.active>
  346. </properties>
  347. </profile>
  348. <!-- 生产环境 -->
  349. <profile>
  350. <id>pro</id>
  351. <activation>
  352. <activeByDefault>false</activeByDefault>
  353. </activation>
  354. <properties>
  355. <spring.profiles.active>pro</spring.profiles.active>
  356. </properties>
  357. </profile>
  358. </profiles>
  359. </project>