pom.xml 7.5 KB

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