pom.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <artifactId>api</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>jar</packaging>
  8. <name>dev-cloud-api</name>
  9. <description>Demo project for Spring Boot</description>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <spring-boot.version>2.3.7.RELEASE</spring-boot.version>
  15. </properties>
  16. <parent>
  17. <artifactId>parent</artifactId>
  18. <groupId>seecoder.devcloud</groupId>
  19. <version>0.0.1-SNAPSHOT</version>
  20. </parent>
  21. <dependencies>
  22. <dependency>
  23. <groupId>com.nju.edu</groupId>
  24. <artifactId>seecoder-gitlab-client</artifactId>
  25. <version>0.1.0</version>
  26. <!-- 这个包引入的log产生了绑定冲突,所以排除掉 -->
  27. <exclusions>
  28. <exclusion>
  29. <groupId>org.apache.logging.log4j</groupId>
  30. <artifactId>log4j-slf4j-impl</artifactId>
  31. </exclusion>
  32. </exclusions>
  33. </dependency>
  34. <!-- https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit -->
  35. <dependency>
  36. <groupId>org.eclipse.jgit</groupId>
  37. <artifactId>org.eclipse.jgit</artifactId>
  38. <version>5.9.0.202009080501-r</version>
  39. </dependency>
  40. <!-- Api Dependencies -->
  41. <!-- use guava-20.0 to solve the dependency conflict between jenkins-client and docker-client -->
  42. <dependency>
  43. <groupId>com.google.guava</groupId>
  44. <artifactId>guava</artifactId>
  45. <version>20.0</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.spotify</groupId>
  49. <artifactId>docker-client</artifactId>
  50. <version>8.16.0</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-configuration-processor</artifactId>
  55. <optional>true</optional>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.gitlab4j</groupId>
  59. <artifactId>gitlab4j-api</artifactId>
  60. <version>4.15.7</version>
  61. <!-- <version>4.8.7</version>-->
  62. </dependency>
  63. <!-- Hibernate Dependencies -->
  64. <dependency>
  65. <groupId>org.hibernate.validator</groupId>
  66. <artifactId>hibernate-validator</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>javax.validation</groupId>
  70. <artifactId>validation-api</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>seecoder.devcloud</groupId>
  74. <artifactId>common</artifactId>
  75. <version>0.0.1-SNAPSHOT</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-starter-logging</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.projectlombok</groupId>
  83. <artifactId>lombok</artifactId>
  84. </dependency>
  85. <!-- https://mvnrepository.com/artifact/io.kubernetes/client-java -->
  86. <dependency>
  87. <groupId>io.kubernetes</groupId>
  88. <artifactId>client-java</artifactId>
  89. <version>10.0.0</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>org.springframework.boot</groupId>
  93. <artifactId>spring-boot-starter-data-jpa</artifactId>
  94. <scope>provided</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-test</artifactId>
  99. <scope>test</scope>
  100. <exclusions>
  101. <exclusion>
  102. <groupId>org.junit.vintage</groupId>
  103. <artifactId>junit-vintage-engine</artifactId>
  104. </exclusion>
  105. </exclusions>
  106. </dependency>
  107. </dependencies>
  108. <dependencyManagement>
  109. <dependencies>
  110. <dependency>
  111. <groupId>org.springframework.boot</groupId>
  112. <artifactId>spring-boot-dependencies</artifactId>
  113. <version>${spring-boot.version}</version>
  114. <type>pom</type>
  115. <scope>import</scope>
  116. </dependency>
  117. </dependencies>
  118. </dependencyManagement>
  119. <build>
  120. <plugins>
  121. <plugin>
  122. <groupId>org.apache.maven.plugins</groupId>
  123. <artifactId>maven-compiler-plugin</artifactId>
  124. <version>3.8.1</version>
  125. <configuration>
  126. <source>1.8</source>
  127. <target>1.8</target>
  128. <encoding>UTF-8</encoding>
  129. </configuration>
  130. </plugin>
  131. <plugin>
  132. <groupId>org.springframework.boot</groupId>
  133. <artifactId>spring-boot-maven-plugin</artifactId>
  134. <version>2.3.7.RELEASE</version>
  135. <configuration>
  136. <excludes>
  137. <exclude>
  138. <groupId>org.springframework.boot</groupId>
  139. <artifactId>spring-boot-configuration-processor</artifactId>
  140. </exclude>
  141. </excludes>
  142. </configuration>
  143. <executions>
  144. <execution>
  145. <id>repackage</id>
  146. <goals>
  147. <goal>repackage</goal>
  148. </goals>
  149. </execution>
  150. </executions>
  151. </plugin>
  152. </plugins>
  153. </build>
  154. </project>