pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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. <!-- 这个包引入的log产生了绑定冲突,所以排除掉 -->
  26. <exclusions>
  27. <exclusion>
  28. <groupId>org.apache.logging.log4j</groupId>
  29. <artifactId>log4j-slf4j-impl</artifactId>
  30. </exclusion>
  31. </exclusions>
  32. <version>0.1.0</version>
  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. <!-- Hibernate Dependencies -->
  58. <dependency>
  59. <groupId>org.hibernate.validator</groupId>
  60. <artifactId>hibernate-validator</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>javax.validation</groupId>
  64. <artifactId>validation-api</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>seecoder.devcloud</groupId>
  68. <artifactId>common</artifactId>
  69. <version>0.0.1-SNAPSHOT</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.projectlombok</groupId>
  73. <artifactId>lombok</artifactId>
  74. </dependency>
  75. <!-- https://mvnrepository.com/artifact/io.kubernetes/client-java -->
  76. <dependency>
  77. <groupId>io.kubernetes</groupId>
  78. <artifactId>client-java</artifactId>
  79. <version>10.0.0</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-data-jpa</artifactId>
  84. <scope>provided</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-test</artifactId>
  89. <scope>test</scope>
  90. <exclusions>
  91. <exclusion>
  92. <groupId>org.junit.vintage</groupId>
  93. <artifactId>junit-vintage-engine</artifactId>
  94. </exclusion>
  95. </exclusions>
  96. </dependency>
  97. </dependencies>
  98. <dependencyManagement>
  99. <dependencies>
  100. <dependency>
  101. <groupId>org.springframework.boot</groupId>
  102. <artifactId>spring-boot-dependencies</artifactId>
  103. <version>${spring-boot.version}</version>
  104. <type>pom</type>
  105. <scope>import</scope>
  106. </dependency>
  107. </dependencies>
  108. </dependencyManagement>
  109. <build>
  110. <plugins>
  111. <plugin>
  112. <groupId>org.apache.maven.plugins</groupId>
  113. <artifactId>maven-compiler-plugin</artifactId>
  114. <version>3.8.1</version>
  115. <configuration>
  116. <source>1.8</source>
  117. <target>1.8</target>
  118. <encoding>UTF-8</encoding>
  119. </configuration>
  120. </plugin>
  121. </plugins>
  122. </build>
  123. </project>