Commit 4302e92d by Johannes Stelzer

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

Closes #48
parent baa6d4e1
...@@ -8,40 +8,55 @@ ...@@ -8,40 +8,55 @@
<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> <groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin</artifactId> <artifactId>spring-boot-admin</artifactId>
<version>1.1.3-SNAPSHOT</version> <version>1.1.3-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>Spring Boot Admin</name> <name>Spring Boot Admin</name>
<description>Spring Boot Admin</description> <description>Spring Boot Admin</description>
<url>https://github.com/codecentric/spring-boot-admin/</url> <url>https://github.com/codecentric/spring-boot-admin/</url>
<properties> <properties>
<spring-boot.version>1.2.2.RELEASE</spring-boot.version> <java.version>1.7</java.version>
<hazelcast.version>3.3.3</hazelcast.version>
<main.basedir>${basedir}</main.basedir> <main.basedir>${basedir}</main.basedir>
<passphrase>${gpg.passphrase}</passphrase> <passphrase>${gpg.passphrase}</passphrase>
<spring-boot.version>1.2.2.RELEASE</spring-boot.version>
<hazelcast.version>3.3.3</hazelcast.version>
<commons-lang3.version>3.3.2</commons-lang3.version>
<build-plugin.jacoco.version>0.7.3.201502191951</build-plugin.jacoco.version>
<build-plugin.coveralls.version>3.0.1</build-plugin.coveralls.version>
<build-plugin.gpg.version>1.5</build-plugin.gpg.version>
</properties> </properties>
<modules> <modules>
<module>spring-boot-admin-server</module> <module>spring-boot-admin-server</module>
<module>spring-boot-admin-server-ui</module> <module>spring-boot-admin-server-ui</module>
<module>spring-boot-admin-samples</module> <module>spring-boot-admin-samples</module>
<module>spring-boot-starter-admin-client</module> <module>spring-boot-starter-admin-client</module>
</modules> </modules>
<organization> <organization>
<name>codecentric AG</name> <name>codecentric AG</name>
<url>http://www.codecentric.de</url> <url>http://www.codecentric.de</url>
</organization> </organization>
<licenses> <licenses>
<license> <license>
<name>Apache License, Version 2.0</name> <name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url> <url>http://www.apache.org/licenses/LICENSE-2.0</url>
</license> </license>
</licenses> </licenses>
<scm> <scm>
<connection>scm:git:git://github.com/codecentric/spring-boot-admin.git</connection> <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> <developerConnection>scm:git:ssh://git@github.com/codecentric/spring-boot-admin.git</developerConnection>
<url>https://github.com/codecentric/spring-boot-admin</url> <url>https://github.com/codecentric/spring-boot-admin</url>
</scm> </scm>
<developers> <developers>
<developer> <developer>
<name>Thomas Bosch</name> <name>Thomas Bosch</name>
...@@ -54,22 +69,11 @@ ...@@ -54,22 +69,11 @@
<organization>codecentric AG</organization> <organization>codecentric AG</organization>
</developer> </developer>
</developers> </developers>
<prerequisites>
<maven>3.0.0</maven>
</prerequisites>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
<encoding>utf8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<executions> <executions>
<execution> <execution>
...@@ -98,17 +102,7 @@ ...@@ -98,17 +102,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId> <artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version> <version>${build-plugin.gpg.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.3.2</version>
</plugin> </plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
...@@ -153,7 +147,7 @@ ...@@ -153,7 +147,7 @@
<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
...@@ -179,12 +173,13 @@ ...@@ -179,12 +173,13 @@
<plugin> <plugin>
<groupId>org.eluder.coveralls</groupId> <groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId> <artifactId>coveralls-maven-plugin</artifactId>
<version>3.0.1</version> <version>${build-plugin.coveralls.version}</version>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</profile> </profile>
</profiles> </profiles>
<distributionManagement> <distributionManagement>
<snapshotRepository> <snapshotRepository>
<id>sonatype-nexus-snapshots</id> <id>sonatype-nexus-snapshots</id>
...@@ -197,27 +192,28 @@ ...@@ -197,27 +192,28 @@
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository> </repository>
</distributionManagement> </distributionManagement>
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>de.codecentric</groupId> <groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-server</artifactId> <artifactId>spring-boot-admin-server</artifactId>
<version>1.1.3-SNAPSHOT</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>de.codecentric</groupId> <groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-server-ui</artifactId> <artifactId>spring-boot-admin-server-ui</artifactId>
<version>1.1.3-SNAPSHOT</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>de.codecentric</groupId> <groupId>de.codecentric</groupId>
<artifactId>spring-boot-starter-admin-client</artifactId> <artifactId>spring-boot-starter-admin-client</artifactId>
<version>1.1.3-SNAPSHOT</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>de.codecentric</groupId> <groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-example</artifactId> <artifactId>spring-boot-admin-example</artifactId>
<version>1.1.1-SNAPSHOT</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
...@@ -227,7 +223,7 @@ ...@@ -227,7 +223,7 @@
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId> <artifactId>commons-lang3</artifactId>
<version>3.3.2</version> <version>${commons-lang3.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.hazelcast</groupId> <groupId>com.hazelcast</groupId>
......
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