This is incredibly useful in a distributed system: all components get the shared config in "application.yml" (for instance) as well as their specific values per spring.application.name.
84 lines
2.5 KiB
XML
84 lines
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>spring-platform-config-server</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>spring-platform-config-server</name>
|
|
<description>spring-platform-config-server</description>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.platform</groupId>
|
|
<artifactId>spring-platform-config</artifactId>
|
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
|
<relativePath>..</relativePath>
|
|
</parent>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.platform</groupId>
|
|
<artifactId>spring-platform-netflix</artifactId>
|
|
<version>${spring-platform.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.platform</groupId>
|
|
<artifactId>spring-platform-config-client</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.platform</groupId>
|
|
<artifactId>spring-platform-netflix-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jgit</groupId>
|
|
<artifactId>org.eclipse.jgit</artifactId>
|
|
<version>2.3.1.201302201838-r</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.netflix.eureka</groupId>
|
|
<artifactId>eureka-client</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<spring-platform.version>${project.version}</spring-platform.version>
|
|
<start-class>org.springframework.platform.config.server.Application</start-class>
|
|
<java.version>1.7</java.version>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<configuration>
|
|
<classifier>exec</classifier>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|