Commit 4302e92d by Johannes Stelzer

Define depepndencies' versions as property and some removal of duplicate config to parent

Closes #48
parent baa6d4e1
<?xml version="1.0" encoding="UTF-8"?> <?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" <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"> 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> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>1.2.2.RELEASE</version> <version>1.2.2.RELEASE</version>
<relativePath /> <!-- lookup parent from repository --> <relativePath /> <!-- lookup parent from repository -->
</parent> </parent>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin</artifactId> <groupId>de.codecentric</groupId>
<version>1.1.3-SNAPSHOT</version> <artifactId>spring-boot-admin</artifactId>
<packaging>pom</packaging> <version>1.1.3-SNAPSHOT</version>
<name>Spring Boot Admin</name> <packaging>pom</packaging>
<description>Spring Boot Admin</description>
<url>https://github.com/codecentric/spring-boot-admin/</url> <name>Spring Boot Admin</name>
<properties> <description>Spring Boot Admin</description>
<spring-boot.version>1.2.2.RELEASE</spring-boot.version> <url>https://github.com/codecentric/spring-boot-admin/</url>
<hazelcast.version>3.3.3</hazelcast.version>
<main.basedir>${basedir}</main.basedir> <properties>
<passphrase>${gpg.passphrase}</passphrase> <java.version>1.7</java.version>
</properties> <main.basedir>${basedir}</main.basedir>
<modules> <passphrase>${gpg.passphrase}</passphrase>
<module>spring-boot-admin-server</module>
<module>spring-boot-admin-server-ui</module> <spring-boot.version>1.2.2.RELEASE</spring-boot.version>
<module>spring-boot-admin-samples</module> <hazelcast.version>3.3.3</hazelcast.version>
<module>spring-boot-starter-admin-client</module> <commons-lang3.version>3.3.2</commons-lang3.version>
</modules>
<organization> <build-plugin.jacoco.version>0.7.3.201502191951</build-plugin.jacoco.version>
<name>codecentric AG</name> <build-plugin.coveralls.version>3.0.1</build-plugin.coveralls.version>
<url>http://www.codecentric.de</url> <build-plugin.gpg.version>1.5</build-plugin.gpg.version>
</organization> </properties>
<licenses>
<license> <modules>
<name>Apache License, Version 2.0</name> <module>spring-boot-admin-server</module>
<url>http://www.apache.org/licenses/LICENSE-2.0</url> <module>spring-boot-admin-server-ui</module>
</license> <module>spring-boot-admin-samples</module>
</licenses> <module>spring-boot-starter-admin-client</module>
<scm> </modules>
<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> <organization>
<url>https://github.com/codecentric/spring-boot-admin</url> <name>codecentric AG</name>
</scm> <url>http://www.codecentric.de</url>
<developers> </organization>
<developer>
<name>Thomas Bosch</name> <licenses>
<email>thomas.bosch@codecentric.de</email> <license>
<organization>codecentric AG</organization> <name>Apache License, Version 2.0</name>
</developer> <url>http://www.apache.org/licenses/LICENSE-2.0</url>
<developer> </license>
<name>Dennis Schulte</name> </licenses>
<email>dennis.schulte@codecentric.de</email>
<organization>codecentric AG</organization> <scm>
</developer> <connection>scm:git:git://github.com/codecentric/spring-boot-admin.git</connection>
</developers> <developerConnection>scm:git:ssh://git@github.com/codecentric/spring-boot-admin.git</developerConnection>
<prerequisites> <url>https://github.com/codecentric/spring-boot-admin</url>
<maven>3.0.0</maven> </scm>
</prerequisites>
<build> <developers>
<plugins> <developer>
<plugin> <name>Thomas Bosch</name>
<groupId>org.apache.maven.plugins</groupId> <email>thomas.bosch@codecentric.de</email>
<artifactId>maven-compiler-plugin</artifactId> <organization>codecentric AG</organization>
<configuration> </developer>
<source>1.7</source> <developer>
<target>1.7</target> <name>Dennis Schulte</name>
<encoding>utf8</encoding> <email>dennis.schulte@codecentric.de</email>
</configuration> <organization>codecentric AG</organization>
</plugin> </developer>
<plugin> </developers>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <build>
<executions> <plugins>
<execution> <plugin>
<id>attach-sources</id> <groupId>org.apache.maven.plugins</groupId>
<goals> <artifactId>maven-source-plugin</artifactId>
<goal>jar-no-fork</goal> <executions>
</goals> <execution>
</execution> <id>attach-sources</id>
</executions> <goals>
</plugin> <goal>jar-no-fork</goal>
<plugin> </goals>
<groupId>org.apache.maven.plugins</groupId> </execution>
<artifactId>maven-javadoc-plugin</artifactId> </executions>
<executions> </plugin>
<execution> <plugin>
<id>attach-javadocs</id> <groupId>org.apache.maven.plugins</groupId>
<goals> <artifactId>maven-javadoc-plugin</artifactId>
<goal>jar</goal> <executions>
</goals> <execution>
</execution> <id>attach-javadocs</id>
</executions> <goals>
</plugin> <goal>jar</goal>
</plugins> </goals>
<pluginManagement> </execution>
<plugins> </executions>
<plugin> </plugin>
<groupId>org.apache.maven.plugins</groupId> </plugins>
<artifactId>maven-gpg-plugin</artifactId> <pluginManagement>
<version>1.5</version> <plugins>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
</plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>exec-maven-plugin</artifactId> <artifactId>maven-gpg-plugin</artifactId>
<version>1.3.2</version> <version>${build-plugin.gpg.version}</version>
</plugin> </plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>
<profiles> <profiles>
<profile> <profile>
<id>sign-artifacts</id> <id>sign-artifacts</id>
<activation> <activation>
<activeByDefault>false</activeByDefault> <activeByDefault>false</activeByDefault>
</activation> </activation>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId> <artifactId>maven-gpg-plugin</artifactId>
<configuration> <configuration>
<passphrase>${passphrase}</passphrase> <passphrase>${passphrase}</passphrase>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<id>sign-artifacts</id> <id>sign-artifacts</id>
<phase>verify</phase> <phase>verify</phase>
<goals> <goals>
<goal>sign</goal> <goal>sign</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</profile> </profile>
<profile> <profile>
<id>travis</id> <id>travis</id>
<activation> <activation>
<property> <property>
<name>env.TRAVIS</name> <name>env.TRAVIS</name>
<value>true</value> <value>true</value>
</property> </property>
</activation> </activation>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.3.201502191951</version> <version>${build-plugin.jacoco.version}</version>
<executions> <executions>
<!-- Prepares the property pointing to the JaCoCo <!-- Prepares the property pointing to the JaCoCo
runtime agent which is passed as VM argument when Maven the Surefire plugin runtime agent which is passed as VM argument when Maven the Surefire plugin
is executed. --> is executed. -->
<execution> <execution>
<id>pre-unit-test</id> <id>pre-unit-test</id>
<goals> <goals>
<goal>prepare-agent</goal> <goal>prepare-agent</goal>
</goals> </goals>
</execution> </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>${build-plugin.coveralls.version}</version>
</plugin>
</plugins>
</build>
</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>
<!-- Ensures that the code coverage report for <dependencyManagement>
unit tests is created after unit tests have been run. --> <dependencies>
<execution> <dependency>
<id>post-unit-test</id> <groupId>de.codecentric</groupId>
<phase>test</phase> <artifactId>spring-boot-admin-server</artifactId>
<goals> <version>${project.version}</version>
<goal>report</goal> </dependency>
</goals> <dependency>
</execution> <groupId>de.codecentric</groupId>
</executions> <artifactId>spring-boot-admin-server-ui</artifactId>
</plugin> <version>${project.version}</version>
<plugin> </dependency>
<groupId>org.eluder.coveralls</groupId> <dependency>
<artifactId>coveralls-maven-plugin</artifactId> <groupId>de.codecentric</groupId>
<version>3.0.1</version> <artifactId>spring-boot-starter-admin-client</artifactId>
</plugin> <version>${project.version}</version>
</plugins> </dependency>
</build> <dependency>
</profile> <groupId>de.codecentric</groupId>
</profiles> <artifactId>spring-boot-admin-example</artifactId>
<distributionManagement> <version>${project.version}</version>
<snapshotRepository> </dependency>
<id>sonatype-nexus-snapshots</id> <dependency>
<name>Sonatype Nexus Snapshots</name> <groupId>org.springframework.boot</groupId>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url> <artifactId>spring-boot-starter-web</artifactId>
</snapshotRepository> <version>${spring-boot.version}</version>
<repository> </dependency>
<id>sonatype-nexus-staging</id> <dependency>
<name>Nexus Release Repository</name> <groupId>org.apache.commons</groupId>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> <artifactId>commons-lang3</artifactId>
</repository> <version>${commons-lang3.version}</version>
</distributionManagement> </dependency>
<dependencyManagement> <dependency>
<dependencies> <groupId>com.hazelcast</groupId>
<dependency> <artifactId>hazelcast</artifactId>
<groupId>de.codecentric</groupId> <version>${hazelcast.version}</version>
<artifactId>spring-boot-admin-server</artifactId> </dependency>
<version>1.1.3-SNAPSHOT</version> <dependency>
</dependency> <groupId>com.hazelcast</groupId>
<dependency> <artifactId>hazelcast-spring</artifactId>
<groupId>de.codecentric</groupId> <version>${hazelcast.version}</version>
<artifactId>spring-boot-admin-server-ui</artifactId> </dependency>
<version>1.1.3-SNAPSHOT</version> <!-- Test -->
</dependency> <dependency>
<dependency> <groupId>org.springframework</groupId>
<groupId>de.codecentric</groupId> <artifactId>spring-test</artifactId>
<artifactId>spring-boot-starter-admin-client</artifactId> <version>${spring.version}</version>
<version>1.1.3-SNAPSHOT</version> <scope>test</scope>
</dependency> </dependency>
<dependency> </dependencies>
<groupId>de.codecentric</groupId> </dependencyManagement>
<artifactId>spring-boot-admin-example</artifactId>
<version>1.1.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.3.2</version>
</dependency>
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast</artifactId>
<version>${hazelcast.version}</version>
</dependency>
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast-spring</artifactId>
<version>${hazelcast.version}</version>
</dependency>
<!-- Test -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project> </project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment