pom.xml 8.3 KB

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