|
| 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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + <groupId>org.spring.cloud.k8s.examples</groupId> |
| 9 | + <artifactId>boss</artifactId> |
| 10 | + <version>1.0-SNAPSHOT</version> |
| 11 | + |
| 12 | + <packaging>jar</packaging> |
| 13 | + |
| 14 | + <name>boss</name> |
| 15 | + <description>Boss Project</description> |
| 16 | + |
| 17 | + <properties> |
| 18 | + <java.version>1.8</java.version> |
| 19 | + <spring.boot.version>2.0.1.RELEASE</spring.boot.version> |
| 20 | + <spring-cloud-openfeign.version>2.0.0.RC1</spring-cloud-openfeign.version> |
| 21 | + <spring-cloud-commons.version>2.0.0.BUILD-SNAPSHOT</spring-cloud-commons.version> |
| 22 | + <spring.cloud.k8s.version>0.3.0.RC1</spring.cloud.k8s.version> |
| 23 | + <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version> |
| 24 | + </properties> |
| 25 | + |
| 26 | + <dependencyManagement> |
| 27 | + <dependencies> |
| 28 | + <dependency> |
| 29 | + <groupId>org.springframework.boot</groupId> |
| 30 | + <artifactId>spring-boot-dependencies</artifactId> |
| 31 | + <version>${spring.boot.version}</version> |
| 32 | + <scope>import</scope> |
| 33 | + <type>pom</type> |
| 34 | + </dependency> |
| 35 | + <dependency> |
| 36 | + <groupId>org.springframework.cloud</groupId> |
| 37 | + <artifactId>spring-cloud-commons-dependencies</artifactId> |
| 38 | + <version>${spring-cloud-commons.version}</version> |
| 39 | + <type>pom</type> |
| 40 | + <scope>import</scope> |
| 41 | + </dependency> |
| 42 | + <dependency> |
| 43 | + <groupId>org.springframework.cloud</groupId> |
| 44 | + <artifactId>spring-cloud-kubernetes-dependencies</artifactId> |
| 45 | + <version>${spring.cloud.k8s.version}</version> |
| 46 | + <type>pom</type> |
| 47 | + <scope>import</scope> |
| 48 | + </dependency> |
| 49 | + </dependencies> |
| 50 | + </dependencyManagement> |
| 51 | + |
| 52 | + |
| 53 | + <dependencies> |
| 54 | + <dependency> |
| 55 | + <groupId>org.springframework.boot</groupId> |
| 56 | + <artifactId>spring-boot-starter-web</artifactId> |
| 57 | + </dependency> |
| 58 | + <dependency> |
| 59 | + <groupId>org.springframework.boot</groupId> |
| 60 | + <artifactId>spring-boot-actuator</artifactId> |
| 61 | + </dependency> |
| 62 | + <dependency> |
| 63 | + <groupId>org.springframework.boot</groupId> |
| 64 | + <artifactId>spring-boot-actuator-autoconfigure</artifactId> |
| 65 | + </dependency> |
| 66 | + <dependency> |
| 67 | + <groupId>org.springframework.boot</groupId> |
| 68 | + <artifactId>spring-boot-starter-test</artifactId> |
| 69 | + <scope>test</scope> |
| 70 | + </dependency> |
| 71 | + </dependencies> |
| 72 | + |
| 73 | + <build> |
| 74 | + <plugins> |
| 75 | + <plugin> |
| 76 | + <groupId>org.apache.maven.plugins</groupId> |
| 77 | + <artifactId>maven-compiler-plugin</artifactId> |
| 78 | + <version>${maven-compiler-plugin.version}</version> |
| 79 | + <configuration> |
| 80 | + <source>${java.version}</source> |
| 81 | + <target>${java.version}</target> |
| 82 | + <showDeprecation>true</showDeprecation> |
| 83 | + <showWarnings>true</showWarnings> |
| 84 | + <optimize>true</optimize> |
| 85 | + </configuration> |
| 86 | + </plugin> |
| 87 | + <plugin> |
| 88 | + <groupId>org.springframework.boot</groupId> |
| 89 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 90 | + <executions> |
| 91 | + <execution> |
| 92 | + <goals> |
| 93 | + <goal>repackage</goal> |
| 94 | + </goals> |
| 95 | + </execution> |
| 96 | + </executions> |
| 97 | + </plugin> |
| 98 | + <plugin> |
| 99 | + <groupId>org.apache.maven.plugins</groupId> |
| 100 | + <artifactId>maven-deploy-plugin</artifactId> |
| 101 | + <version>2.8.2</version> |
| 102 | + </plugin> |
| 103 | + </plugins> |
| 104 | + </build> |
| 105 | + |
| 106 | + |
| 107 | + <repositories> |
| 108 | + <repository> |
| 109 | + <id>spring-milestones</id> |
| 110 | + <name>Spring Milestones</name> |
| 111 | + <url>https://repo.spring.io/milestone/</url> |
| 112 | + <snapshots> |
| 113 | + <enabled>true</enabled> |
| 114 | + </snapshots> |
| 115 | + </repository> |
| 116 | + <repository> |
| 117 | + <id>spring-snapshots</id> |
| 118 | + <name>Spring Snapshots</name> |
| 119 | + <url>https://repo.spring.io/snapshot/</url> |
| 120 | + <releases> |
| 121 | + <enabled>false</enabled> |
| 122 | + </releases> |
| 123 | + </repository> |
| 124 | + </repositories> |
| 125 | + |
| 126 | + |
| 127 | +</project> |
0 commit comments