pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. </dependency>
  27. <!-- https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit -->
  28. <dependency>
  29. <groupId>org.eclipse.jgit</groupId>
  30. <artifactId>org.eclipse.jgit</artifactId>
  31. <version>5.9.0.202009080501-r</version>
  32. </dependency>
  33. <!-- Api Dependencies -->
  34. <!-- use guava-20.0 to solve the dependency conflict between jenkins-client and docker-client -->
  35. <dependency>
  36. <groupId>com.google.guava</groupId>
  37. <artifactId>guava</artifactId>
  38. <version>20.0</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.spotify</groupId>
  42. <artifactId>docker-client</artifactId>
  43. <version>8.16.0</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-configuration-processor</artifactId>
  48. <optional>true</optional>
  49. </dependency>
  50. <!-- Hibernate Dependencies -->
  51. <dependency>
  52. <groupId>org.hibernate.validator</groupId>
  53. <artifactId>hibernate-validator</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>javax.validation</groupId>
  57. <artifactId>validation-api</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>seecoder.devcloud</groupId>
  61. <artifactId>common</artifactId>
  62. <version>0.0.1-SNAPSHOT</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.projectlombok</groupId>
  66. <artifactId>lombok</artifactId>
  67. </dependency>
  68. <!-- https://mvnrepository.com/artifact/io.kubernetes/client-java -->
  69. <dependency>
  70. <groupId>io.kubernetes</groupId>
  71. <artifactId>client-java</artifactId>
  72. <version>10.0.0</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-data-jpa</artifactId>
  77. <scope>provided</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-test</artifactId>
  82. <scope>test</scope>
  83. <exclusions>
  84. <exclusion>
  85. <groupId>org.junit.vintage</groupId>
  86. <artifactId>junit-vintage-engine</artifactId>
  87. </exclusion>
  88. </exclusions>
  89. </dependency>
  90. </dependencies>
  91. <dependencyManagement>
  92. <dependencies>
  93. <dependency>
  94. <groupId>org.springframework.boot</groupId>
  95. <artifactId>spring-boot-dependencies</artifactId>
  96. <version>${spring-boot.version}</version>
  97. <type>pom</type>
  98. <scope>import</scope>
  99. </dependency>
  100. </dependencies>
  101. </dependencyManagement>
  102. <build>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.apache.maven.plugins</groupId>
  106. <artifactId>maven-compiler-plugin</artifactId>
  107. <version>3.8.1</version>
  108. <configuration>
  109. <source>1.8</source>
  110. <target>1.8</target>
  111. <encoding>UTF-8</encoding>
  112. </configuration>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.springframework.boot</groupId>
  116. <artifactId>spring-boot-maven-plugin</artifactId>
  117. <version>2.3.7.RELEASE</version>
  118. <configuration>
  119. <excludes>
  120. <exclude>
  121. <groupId>org.springframework.boot</groupId>
  122. <artifactId>spring-boot-configuration-processor</artifactId>
  123. </exclude>
  124. </excludes>
  125. </configuration>
  126. <executions>
  127. <execution>
  128. <id>repackage</id>
  129. <goals>
  130. <goal>repackage</goal>
  131. </goals>
  132. </execution>
  133. </executions>
  134. </plugin>
  135. </plugins>
  136. </build>
  137. </project>