265 lines
8.4 KiB
XML
265 lines
8.4 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>spring-cloud-netflix</artifactId>
|
|
<version>5.0.0-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
<name>Spring Cloud Netflix</name>
|
|
<description>Spring Cloud Netflix</description>
|
|
<parent>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-build</artifactId>
|
|
<version>5.0.0-SNAPSHOT</version>
|
|
<relativePath />
|
|
</parent>
|
|
<scm>
|
|
<url>https://github.com/spring-cloud/spring-cloud-netflix</url>
|
|
<connection>scm:git:git://github.com/spring-cloud/spring-cloud-netflix.git</connection>
|
|
<developerConnection>scm:git:ssh://git@github.com/spring-cloud/spring-cloud-netflix.git</developerConnection>
|
|
<tag>HEAD</tag>
|
|
</scm>
|
|
<properties>
|
|
<bintray.package>netflix</bintray.package>
|
|
<spring-cloud-commons.version>5.0.0-SNAPSHOT</spring-cloud-commons.version>
|
|
<spring-cloud-config.version>5.0.0-SNAPSHOT</spring-cloud-config.version>
|
|
<testcontainers.version>1.21.1</testcontainers.version>
|
|
<mockserverclient.version>5.15.0</mockserverclient.version>
|
|
|
|
<!-- Sonar -->
|
|
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
|
|
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
|
|
<sonar.jacoco.reportPath>${project.basedir}/../target/jacoco.exec</sonar.jacoco.reportPath>
|
|
<sonar.language>java</sonar.language>
|
|
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
<version>${maven-eclipse-plugin.version}</version>
|
|
<configuration>
|
|
<useProjectReferences>false</useProjectReferences>
|
|
<additionalConfig>
|
|
<file>
|
|
<name>.settings/org.eclipse.jdt.ui.prefs</name>
|
|
<location>${maven.multiModuleProjectDirectory}/eclipse/org.eclipse.jdt.ui.prefs</location>
|
|
</file>
|
|
<file>
|
|
<name>.settings/org.eclipse.jdt.core.prefs</name>
|
|
<location>${maven.multiModuleProjectDirectory}/eclipse/org.eclipse.jdt.core.prefs</location>
|
|
</file>
|
|
</additionalConfig>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>io.spring.javaformat</groupId>
|
|
<artifactId>spring-javaformat-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.basepom.maven</groupId>
|
|
<artifactId>duplicate-finder-maven-plugin</artifactId>
|
|
<configuration>
|
|
<ignoredResourcePatterns>
|
|
<ignoredResourcePattern>about.html</ignoredResourcePattern>
|
|
<ignoredResourcePattern>plugin.properties</ignoredResourcePattern>
|
|
<ignoredResourcePattern>mozilla/public-suffix-list.txt</ignoredResourcePattern>
|
|
</ignoredResourcePatterns>
|
|
<checkTestClasspath>false</checkTestClasspath>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-netflix-dependencies</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-commons-dependencies</artifactId>
|
|
<version>${spring-cloud-commons.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-test-support</artifactId>
|
|
<scope>test</scope>
|
|
<version>${spring-cloud-commons.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-config-dependencies</artifactId>
|
|
<version>${spring-cloud-config.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.inject</groupId>
|
|
<artifactId>javax.inject</artifactId>
|
|
<version>1</version>
|
|
</dependency>
|
|
<!-- Eureka core dep that is now optional -->
|
|
<!-- end eureka deps -->
|
|
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>mockserver</artifactId>
|
|
<version>${testcontainers.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>${testcontainers.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mock-server</groupId>
|
|
<artifactId>mockserver-client-java</artifactId>
|
|
<version>${mockserverclient.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
<modules>
|
|
<module>spring-cloud-netflix-dependencies</module>
|
|
<module>spring-cloud-netflix-eureka-client</module>
|
|
<module>spring-cloud-netflix-eureka-server</module>
|
|
<module>spring-cloud-starter-netflix-eureka-client</module>
|
|
<module>spring-cloud-starter-netflix-eureka-server</module>
|
|
<module>spring-cloud-netflix-eureka-client-tls-tests</module>
|
|
<module>docs</module>
|
|
</modules>
|
|
<profiles>
|
|
<profile>
|
|
<id>spring</id>
|
|
<repositories>
|
|
<repository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>https://repo.spring.io/libs-snapshot-local</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
</repository>
|
|
<repository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>https://repo.spring.io/libs-milestone-local</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>spring-releases</id>
|
|
<name>Spring Releases</name>
|
|
<url>https://repo.spring.io/release</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>spring-snapshots</id>
|
|
<name>Spring Snapshots</name>
|
|
<url>https://repo.spring.io/libs-snapshot-local</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>spring-milestones</id>
|
|
<name>Spring Milestones</name>
|
|
<url>https://repo.spring.io/libs-milestone-local</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
<pluginRepository>
|
|
<id>spring-releases</id>
|
|
<name>Spring Releases</name>
|
|
<url>https://repo.spring.io/libs-release-local</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
</profile>
|
|
<profile>
|
|
<id>sonar</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jacoco</groupId>
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>pre-unit-test</id>
|
|
<goals>
|
|
<goal>prepare-agent</goal>
|
|
</goals>
|
|
<configuration>
|
|
<propertyName>surefireArgLine</propertyName>
|
|
<destFile>${project.build.directory}/jacoco.exec</destFile>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>post-unit-test</id>
|
|
<phase>test</phase>
|
|
<goals>
|
|
<goal>report</goal>
|
|
</goals>
|
|
<configuration>
|
|
<!-- Sets the path to the file which contains the execution data. -->
|
|
<dataFile>${project.build.directory}/jacoco.exec</dataFile>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<!-- Sets the VM argument line used when unit tests are run. -->
|
|
<argLine>${surefireArgLine}</argLine>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|