pom.xml 13 KB

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