diff --git a/pom.xml b/pom.xml index b51f2f1d7da4bbdee3ed7a1fe39c51c811665ea4..a282e1961bfdc89d8f9b2ea0652a7391344dc8f5 100644 --- a/pom.xml +++ b/pom.xml @@ -30,6 +30,10 @@ <nexus.url>https://gazelle.ihe.net/nexus</nexus.url> <nexus.path>/content/groups/public/</nexus.path> <sonar.maven.plugin.version>3.7.0.1746</sonar.maven.plugin.version> + <maven.release.plugin.version>2.5.3</maven.release.plugin.version> + <nexus.staging.maven.plugin.version>1.6.8</nexus.staging.maven.plugin.version> + <sonar.maven.plugin>3.5.0.1254</sonar.maven.plugin> + <jacoco.version>0.8.4</jacoco.version> </properties> <repositories> @@ -53,8 +57,13 @@ <id>nexus-releases</id> <url>${nexus.url}/content/repositories/releases</url> </repository> + <snapshotRepository> + <id>nexus-snapshots</id> + <url>${nexus.url}/content/repositories/snapshots/</url> + </snapshotRepository> </distributionManagement> + <build> <plugins> <plugin> @@ -82,7 +91,7 @@ <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> - <version>0.8.4</version> + <version>${jacoco.version}</version> <executions> <execution> <id>pre-unit-test</id> @@ -116,7 +125,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> - <version>2.5.3</version> + <version>${maven.release.plugin.version}</version> <configuration> <tagNameFormat>@{project.version}</tagNameFormat> <autoVersionSubmodules>true</autoVersionSubmodules> @@ -127,6 +136,12 @@ </build> <profiles> + <profile> + <id>dev</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + </profile> <profile> <id>sonar</id> <build> @@ -157,7 +172,7 @@ <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> - <version>1.6.8</version> + <version>${nexus.staging.maven.plugin.version}</version> <executions> <execution> <id>default-deploy</id>