pom.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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.boot</groupId>
  71. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.thymeleaf.extras</groupId>
  75. <artifactId>thymeleaf-extras-springsecurity5</artifactId>
  76. <version>RELEASE</version>
  77. </dependency>-->
  78. <dependency>
  79. <groupId>cglib</groupId>
  80. <artifactId>cglib</artifactId>
  81. <version>3.3.0</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>io.springfox</groupId>
  85. <artifactId>springfox-swagger2</artifactId>
  86. <version>2.9.2</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>io.springfox</groupId>
  90. <artifactId>springfox-swagger-ui</artifactId>
  91. <version>2.9.2</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.apache.maven.shared</groupId>
  95. <artifactId>maven-invoker</artifactId>
  96. <version>3.0.1</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.jcraft</groupId>
  100. <artifactId>jsch</artifactId>
  101. <version>0.1.55</version>
  102. </dependency>
  103. </dependencies>
  104. <profiles>
  105. <profile>
  106. <id>dev</id>
  107. <properties>
  108. <profile.active>dev</profile.active>
  109. </properties>
  110. <activation>
  111. <activeByDefault>true</activeByDefault>
  112. </activation>
  113. </profile>
  114. <profile>
  115. <id>test</id>
  116. <properties>
  117. <profile.active>test</profile.active>
  118. </properties>
  119. </profile>
  120. <profile>
  121. <id>prod</id>
  122. <properties>
  123. <profile.active>prod</profile.active>
  124. </properties>
  125. </profile>
  126. </profiles>
  127. <build>
  128. <extensions>
  129. <extension>
  130. <groupId>kr.motd.maven</groupId>
  131. <artifactId>os-maven-plugin</artifactId>
  132. <version>1.5.0.Final</version>
  133. </extension>
  134. </extensions>
  135. <resources>
  136. <resource>
  137. <directory>src/main/resources</directory>
  138. <filtering>true</filtering>
  139. <excludes>
  140. <exclude>*</exclude>
  141. </excludes>
  142. </resource>
  143. <resource>
  144. <directory>src/main/resources</directory>
  145. <filtering>true</filtering>
  146. <includes>
  147. <include>application.yml</include>
  148. <include>application-${profile.active}.yml</include>
  149. <include>logback-spring.xml</include>
  150. </includes>
  151. </resource>
  152. </resources>
  153. <plugins>
  154. <plugin>
  155. <groupId>org.springframework.boot</groupId>
  156. <artifactId>spring-boot-maven-plugin</artifactId>
  157. <configuration>
  158. <executable>true</executable>
  159. <fork>true</fork>
  160. </configuration>
  161. </plugin>
  162. <plugin>
  163. <groupId>org.xolstice.maven.plugins</groupId>
  164. <artifactId>protobuf-maven-plugin</artifactId>
  165. <version>0.5.0</version>
  166. <configuration>
  167. <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
  168. <pluginId>grpc-java</pluginId>
  169. <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
  170. </configuration>
  171. <executions>
  172. <execution>
  173. <goals>
  174. <goal>compile</goal>
  175. <goal>compile-custom</goal>
  176. </goals>
  177. </execution>
  178. </executions>
  179. </plugin>
  180. </plugins>
  181. </build>
  182. </project>