<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright 2014-2018 the original author or authors. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <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> <groupId>de.codecentric</groupId> <artifactId>spring-boot-admin</artifactId> <version>${revision}</version> <packaging>pom</packaging> <name>Spring Boot Admin</name> <description>Spring Boot Admin</description> <url>https://github.com/codecentric/spring-boot-admin/</url> <properties> <revision>2.0.0-SNAPSHOT</revision> <spring-boot.version>2.0.0.RC1</spring-boot.version> <spring-cloud.version>Finchley.BUILD-SNAPSHOT</spring-cloud.version> <hazelcast-tests.version>3.9.2</hazelcast-tests.version> <java.version>1.8</java.version> <maven.compiler.source>${java.version}</maven.compiler.source> <maven.compiler.target>${java.version}</maven.compiler.target> <resource.delimiter>@</resource.delimiter> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <!-- plugin versions --> <build-helper-maven-plugin.version>3.0.0</build-helper-maven-plugin.version> <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version> <maven-clean-plugin.version>3.0.0</maven-clean-plugin.version> <maven-site-plugin.version>3.7</maven-site-plugin.version> <maven-dependency-plugin.version>3.0.2</maven-dependency-plugin.version> <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version> <maven-failsafe-plugin.version>2.20.1</maven-failsafe-plugin.version> <maven-install-plugin.version>2.5.2</maven-install-plugin.version> <maven-jar-plugin.version>3.0.2</maven-jar-plugin.version> <maven-javadoc-plugin.version>3.0.0</maven-javadoc-plugin.version> <maven-resources-plugin.version>3.0.2</maven-resources-plugin.version> <maven-source-plugin.version>3.0.1</maven-source-plugin.version> <maven-surefire-plugin.version>2.20.1</maven-surefire-plugin.version> <maven-war-plugin.version>3.2.0</maven-war-plugin.version> <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version> <jacoco-maven-plugin.version>0.8.0</jacoco-maven-plugin.version> <coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version> <asciidoctor-maven-plugin.version>1.5.6</asciidoctor-maven-plugin.version> <git-commit-id-plugin.version>2.2.4</git-commit-id-plugin.version> <flatten-maven-plugin.version>1.0.1</flatten-maven-plugin.version> </properties> <modules> <module>spring-boot-admin-server</module> <module>spring-boot-admin-server-ui</module> <module>spring-boot-admin-client</module> <module>spring-boot-admin-dependencies</module> <module>spring-boot-admin-docs</module> <module>spring-boot-admin-build</module> <module>spring-boot-admin-starter-server</module> <module>spring-boot-admin-starter-client</module> <module>spring-boot-admin-samples</module> </modules> <organization> <name>codecentric AG</name> <url>http://www.codecentric.de</url> </organization> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0</url> </license> </licenses> <scm> <connection>scm:git:git://github.com/codecentric/spring-boot-admin.git</connection> <developerConnection>scm:git:ssh://git@github.com/codecentric/spring-boot-admin.git</developerConnection> <url>https://github.com/codecentric/spring-boot-admin</url> </scm> <developers> <developer> <name>Johannes Edmeier</name> <email>johannes.edmeier@codecentric.de</email> <organization>codecentric AG</organization> </developer> <developer> <name>Thomas Bosch</name> <email>thomas.bosch@codecentric.de</email> <organization>codecentric AG</organization> </developer> <developer> <name>Dennis Schulte</name> <email>dennis.schulte@codecentric.de</email> <organization>codecentric AG</organization> </developer> </developers> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <!-- this fix is needed for the eclipse-plugin to get the right java-version --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>${maven.compiler.source}</source> <target>${maven.compiler.target}</target> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>flatten-maven-plugin</artifactId> <configuration> <updatePomFile>true</updatePomFile> <flattenMode>oss</flattenMode> </configuration> <executions> <execution> <id>flatten</id> <phase>process-resources</phase> <goals> <goal>flatten</goal> </goals> </execution> <execution> <id>flatten-clean</id> <phase>clean</phase> <goals> <goal>clean</goal> </goals> </execution> </executions> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>${maven-clean-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>${maven-site-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${maven-jar-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>${maven-deploy-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>${maven-dependency-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <version>${maven-install-plugin.version}</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>${build-helper-maven-plugin.version}</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>flatten-maven-plugin</artifactId> <version>${flatten-maven-plugin.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>${maven-failsafe-plugin.version}</version> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> <configuration> <redirectTestOutputToFile>true</redirectTestOutputToFile> <includes> <include>**/*Tests.java</include> <include>**/*Test.java</include> </includes> <excludes> <exclude>**/Abstract*.java</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>${maven-resources-plugin.version}</version> <configuration> <delimiters> <delimiter>${resource.delimiter}</delimiter> </delimiters> <useDefaultDelimiters>false</useDefaultDelimiters> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>${exec-maven-plugin.version}</version> </plugin> <plugin> <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId> <version>${git-commit-id-plugin.version}</version> </plugin> <plugin> <groupId>org.asciidoctor</groupId> <artifactId>asciidoctor-maven-plugin</artifactId> <version>${asciidoctor-maven-plugin.version}</version> </plugin> </plugins> </pluginManagement> </build> <profiles> <profile> <id>sign-artifacts</id> <activation> <property> <name>env.GPG_PASSPHRASE</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <configuration> <passphrase>${env.GPG_PASSPHRASE}</passphrase> <homedir>${user.dir}/.gnupg</homedir> </configuration> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>travis</id> <activation> <property> <name>env.TRAVIS</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco-maven-plugin.version}</version> <executions> <!-- Prepares the property pointing to the JaCoCo runtime agent which is passed as VM argument when Maven the Surefire plugin is executed. --> <execution> <id>pre-unit-test</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. --> <execution> <id>post-unit-test</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.eluder.coveralls</groupId> <artifactId>coveralls-maven-plugin</artifactId> <version>${coveralls-maven-plugin.version}</version> </plugin> </plugins> </build> </profile> <profile> <id>spring-repo</id> <activation> <property> <name>!disableSpringSnapshots</name> </property> </activation> <repositories> <repository> <id>spring-release</id> <snapshots> <enabled>false</enabled> </snapshots> <url>http://repo.spring.io/release</url> </repository> <repository> <id>spring-milestone</id> <snapshots> <enabled>false</enabled> </snapshots> <url>http://repo.spring.io/milestone</url> </repository> <repository> <id>spring-snapshot</id> <snapshots> <enabled>true</enabled> </snapshots> <url>http://repo.spring.io/snapshot</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>spring-release</id> <snapshots> <enabled>false</enabled> </snapshots> <url>http://repo.spring.io/release</url> </pluginRepository> <pluginRepository> <id>spring-milestone</id> <snapshots> <enabled>false</enabled> </snapshots> <url>http://repo.spring.io/milestone</url> </pluginRepository> <pluginRepository> <id>spring-snapshot</id> <snapshots> <enabled>true</enabled> </snapshots> <url>http://repo.spring.io/snapshot</url> </pluginRepository> </pluginRepositories> </profile> </profiles> <distributionManagement> <snapshotRepository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> </snapshotRepository> <repository> <id>sonatype-nexus-staging</id> <name>Nexus Release Repository</name> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> </project>