pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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-actuator</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-cache</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.github.ben-manes.caffeine</groupId>
  41. <artifactId>caffeine</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>mysql</groupId>
  45. <artifactId>mysql-connector-java</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.zaxxer</groupId>
  49. <artifactId>HikariCP</artifactId>
  50. <version>3.3.1</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>io.springfox</groupId>
  54. <artifactId>springfox-swagger2</artifactId>
  55. <version>2.9.2</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>io.springfox</groupId>
  59. <artifactId>springfox-swagger-ui</artifactId>
  60. <version>2.9.2</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.aliyun.oss</groupId>
  64. <artifactId>aliyun-sdk-oss</artifactId>
  65. <version>2.8.3</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.maven.shared</groupId>
  69. <artifactId>maven-invoker</artifactId>
  70. <version>3.0.1</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.tmatesoft.svnkit</groupId>
  74. <artifactId>svnkit</artifactId>
  75. <version>1.10.1</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.eclipse.jgit</groupId>
  79. <artifactId>org.eclipse.jgit</artifactId>
  80. <version>5.5.0.201909110433-r</version>
  81. </dependency>
  82. <!--<dependency>
  83. <groupId>com.jcraft</groupId>
  84. <artifactId>jsch</artifactId>
  85. <version>0.1.55</version>
  86. </dependency>-->
  87. <dependency>
  88. <groupId>io.jsonwebtoken</groupId>
  89. <artifactId>jjwt</artifactId>
  90. <version>0.9.1</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>net.java.dev.jna</groupId>
  94. <artifactId>jna</artifactId>
  95. <version>4.1.0</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.libvirt</groupId>
  99. <artifactId>libvirt</artifactId>
  100. <version>0.5.1</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.dom4j</groupId>
  104. <artifactId>dom4j</artifactId>
  105. <version>2.1.1</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.sun.mail</groupId>
  109. <artifactId>javax.mail</artifactId>
  110. <version>RELEASE</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>org.springframework.boot</groupId>
  114. <artifactId>spring-boot-starter-data-jpa</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.springframework.boot</groupId>
  118. <artifactId>spring-boot-starter-data-mongodb</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-starter-websocket</artifactId>
  123. </dependency>
  124. </dependencies>
  125. <profiles>
  126. <profile>
  127. <id>dev</id>
  128. <properties>
  129. <profile.active>dev</profile.active>
  130. </properties>
  131. <activation>
  132. <activeByDefault>true</activeByDefault>
  133. </activation>
  134. </profile>
  135. <profile>
  136. <id>test</id>
  137. <properties>
  138. <profile.active>test</profile.active>
  139. </properties>
  140. </profile>
  141. <profile>
  142. <id>prod</id>
  143. <properties>
  144. <profile.active>prod</profile.active>
  145. </properties>
  146. </profile>
  147. </profiles>
  148. <build>
  149. <finalName>autodop-dmaster</finalName>
  150. <resources>
  151. <resource>
  152. <directory>src/main/resources</directory>
  153. <filtering>true</filtering>
  154. <includes>
  155. <include>application.yml</include>
  156. <include>application-${profile.active}.yml</include>
  157. <include>logback-spring.xml</include>
  158. </includes>
  159. </resource>
  160. </resources>
  161. <plugins>
  162. <plugin>
  163. <groupId>org.apache.maven.plugins</groupId>
  164. <artifactId>maven-compiler-plugin</artifactId>
  165. <configuration>
  166. <source>1.8</source>
  167. <target>1.8</target>
  168. </configuration>
  169. </plugin>
  170. <plugin>
  171. <groupId>org.springframework.boot</groupId>
  172. <artifactId>spring-boot-maven-plugin</artifactId>
  173. <configuration>
  174. <executable>true</executable>
  175. <fork>true</fork>
  176. </configuration>
  177. </plugin>
  178. </plugins>
  179. </build>
  180. </project>