pom.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>autodop</artifactId>
  7. <groupId>cn.reghao.autodop</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>dmaster</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>cn.reghao.autodop</groupId>
  15. <artifactId>common</artifactId>
  16. <version>1.0.0</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-web</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-validation</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-security</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-test</artifactId>
  33. <scope>test</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.thymeleaf.extras</groupId>
  41. <artifactId>thymeleaf-extras-springsecurity5</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-actuator</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-starter-cache</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.github.ben-manes.caffeine</groupId>
  53. <artifactId>caffeine</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>mysql</groupId>
  57. <artifactId>mysql-connector-java</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.zaxxer</groupId>
  61. <artifactId>HikariCP</artifactId>
  62. <version>3.3.1</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>io.springfox</groupId>
  66. <artifactId>springfox-swagger2</artifactId>
  67. <version>2.9.2</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>io.springfox</groupId>
  71. <artifactId>springfox-swagger-ui</artifactId>
  72. <version>2.9.2</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.aliyun.oss</groupId>
  76. <artifactId>aliyun-sdk-oss</artifactId>
  77. <version>2.8.3</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.apache.maven.shared</groupId>
  81. <artifactId>maven-invoker</artifactId>
  82. <version>3.0.1</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.tmatesoft.svnkit</groupId>
  86. <artifactId>svnkit</artifactId>
  87. <version>1.10.1</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.eclipse.jgit</groupId>
  91. <artifactId>org.eclipse.jgit</artifactId>
  92. <version>5.5.0.201909110433-r</version>
  93. </dependency>
  94. <!--<dependency>
  95. <groupId>com.jcraft</groupId>
  96. <artifactId>jsch</artifactId>
  97. <version>0.1.55</version>
  98. </dependency>-->
  99. <dependency>
  100. <groupId>io.jsonwebtoken</groupId>
  101. <artifactId>jjwt</artifactId>
  102. <version>0.9.1</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>net.java.dev.jna</groupId>
  106. <artifactId>jna</artifactId>
  107. <version>4.1.0</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.libvirt</groupId>
  111. <artifactId>libvirt</artifactId>
  112. <version>0.5.1</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.dom4j</groupId>
  116. <artifactId>dom4j</artifactId>
  117. <version>2.1.1</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>com.sun.mail</groupId>
  121. <artifactId>javax.mail</artifactId>
  122. <version>RELEASE</version>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.springframework.boot</groupId>
  126. <artifactId>spring-boot-starter-data-jpa</artifactId>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.springframework.boot</groupId>
  130. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.springframework.boot</groupId>
  134. <artifactId>spring-boot-starter-websocket</artifactId>
  135. </dependency>
  136. </dependencies>
  137. <profiles>
  138. <profile>
  139. <id>dev</id>
  140. <properties>
  141. <profile.active>dev</profile.active>
  142. </properties>
  143. <activation>
  144. <activeByDefault>true</activeByDefault>
  145. </activation>
  146. </profile>
  147. <profile>
  148. <id>test</id>
  149. <properties>
  150. <profile.active>test</profile.active>
  151. </properties>
  152. </profile>
  153. <profile>
  154. <id>prod</id>
  155. <properties>
  156. <profile.active>prod</profile.active>
  157. </properties>
  158. </profile>
  159. </profiles>
  160. <build>
  161. <finalName>autodop-dmaster</finalName>
  162. <resources>
  163. <resource>
  164. <directory>src/main/resources</directory>
  165. <filtering>true</filtering>
  166. <includes>
  167. <include>banner.txt</include>
  168. <!-- 配置和日志文件 -->
  169. <include>application.yml</include>
  170. <include>application-${profile.active}.yml</include>
  171. <include>logback-spring.xml</include>
  172. <!-- 前端静态资源 -->
  173. <include>static/**</include>
  174. <include>templates/**</include>
  175. </includes>
  176. </resource>
  177. </resources>
  178. <plugins>
  179. <plugin>
  180. <groupId>org.apache.maven.plugins</groupId>
  181. <artifactId>maven-compiler-plugin</artifactId>
  182. <configuration>
  183. <source>11</source>
  184. <target>11</target>
  185. </configuration>
  186. </plugin>
  187. <plugin>
  188. <groupId>org.apache.maven.plugins</groupId>
  189. <artifactId>maven-resources-plugin</artifactId>
  190. <!--<version>3.2.0</version>-->
  191. <configuration>
  192. <!-- 让 maven 不处理字体 -->
  193. <nonFilteredFileExtensions>
  194. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  195. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  196. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  197. </nonFilteredFileExtensions>
  198. </configuration>
  199. </plugin>
  200. <plugin>
  201. <groupId>org.springframework.boot</groupId>
  202. <artifactId>spring-boot-maven-plugin</artifactId>
  203. <configuration>
  204. <executable>true</executable>
  205. <fork>true</fork>
  206. </configuration>
  207. </plugin>
  208. </plugins>
  209. </build>
  210. </project>