pom.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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. <projOrchestration.build.sourceEncoding>utf-8</projOrchestration.build.sourceEncoding>
  14. <projOrchestration.reporting.outputEncoding>utf-8</projOrchestration.reporting.outputEncoding>
  15. <java.version>1.8</java.version>
  16. <grpc.version>1.6.1</grpc.version>
  17. <protobuf.version>3.3.0</protobuf.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>cn.reghao.autodop</groupId>
  22. <artifactId>common</artifactId>
  23. <version>1.0.0</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>mysql</groupId>
  31. <artifactId>mysql-connector-java</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.zaxxer</groupId>
  35. <artifactId>HikariCP</artifactId>
  36. <version>3.3.1</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-data-jpa</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.tmatesoft.svnkit</groupId>
  44. <artifactId>svnkit</artifactId>
  45. <version>1.9.3</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.eclipse.jgit</groupId>
  49. <artifactId>org.eclipse.jgit</artifactId>
  50. <version>5.5.0.201909110433-r</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>com.aliyun.oss</groupId>
  54. <artifactId>aliyun-sdk-oss</artifactId>
  55. <version>2.8.3</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-cache</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.github.ben-manes.caffeine</groupId>
  63. <artifactId>caffeine</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-security</artifactId>
  68. </dependency>
  69. <!--<dependency>
  70. <groupId>org.springframework.data</groupId>
  71. <artifactId>spring-data-mongodb</artifactId>
  72. </dependency>-->
  73. <!--<dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.thymeleaf.extras</groupId>
  79. <artifactId>thymeleaf-extras-springsecurity5</artifactId>
  80. <version>RELEASE</version>
  81. </dependency>-->
  82. <dependency>
  83. <groupId>cglib</groupId>
  84. <artifactId>cglib</artifactId>
  85. <version>3.3.0</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>io.springfox</groupId>
  89. <artifactId>springfox-swagger2</artifactId>
  90. <version>2.9.2</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>io.springfox</groupId>
  94. <artifactId>springfox-swagger-ui</artifactId>
  95. <version>2.9.2</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.apache.maven.shared</groupId>
  99. <artifactId>maven-invoker</artifactId>
  100. <version>3.0.1</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.jcraft</groupId>
  104. <artifactId>jsch</artifactId>
  105. <version>0.1.55</version>
  106. </dependency>
  107. </dependencies>
  108. <profiles>
  109. <profile>
  110. <id>dev</id>
  111. <properties>
  112. <profile.active>dev</profile.active>
  113. </properties>
  114. <activation>
  115. <activeByDefault>true</activeByDefault>
  116. </activation>
  117. </profile>
  118. <profile>
  119. <id>test</id>
  120. <properties>
  121. <profile.active>test</profile.active>
  122. </properties>
  123. </profile>
  124. <profile>
  125. <id>prod</id>
  126. <properties>
  127. <profile.active>prod</profile.active>
  128. </properties>
  129. </profile>
  130. </profiles>
  131. <build>
  132. <extensions>
  133. <extension>
  134. <groupId>kr.motd.maven</groupId>
  135. <artifactId>os-maven-plugin</artifactId>
  136. <version>1.5.0.Final</version>
  137. </extension>
  138. </extensions>
  139. <resources>
  140. <resource>
  141. <directory>src/main/resources</directory>
  142. <filtering>true</filtering>
  143. <excludes>
  144. <exclude>*</exclude>
  145. </excludes>
  146. </resource>
  147. <resource>
  148. <directory>src/main/resources</directory>
  149. <filtering>true</filtering>
  150. <includes>
  151. <include>application.yml</include>
  152. <include>application-${profile.active}.yml</include>
  153. <include>logback-spring.xml</include>
  154. </includes>
  155. </resource>
  156. </resources>
  157. <plugins>
  158. <plugin>
  159. <groupId>org.springframework.boot</groupId>
  160. <artifactId>spring-boot-maven-plugin</artifactId>
  161. <configuration>
  162. <executable>true</executable>
  163. <fork>true</fork>
  164. </configuration>
  165. </plugin>
  166. <plugin>
  167. <groupId>org.xolstice.maven.plugins</groupId>
  168. <artifactId>protobuf-maven-plugin</artifactId>
  169. <version>0.5.0</version>
  170. <configuration>
  171. <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
  172. <pluginId>grpc-java</pluginId>
  173. <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
  174. </configuration>
  175. <executions>
  176. <execution>
  177. <goals>
  178. <goal>compile</goal>
  179. <goal>compile-custom</goal>
  180. </goals>
  181. </execution>
  182. </executions>
  183. </plugin>
  184. </plugins>
  185. </build>
  186. </project>