From 5e5257c2f3b23885cd27d143c3c3f4c5b9e79258 Mon Sep 17 00:00:00 2001
From: Malo <mtc@kereval.com>
Date: Tue, 5 Apr 2022 09:27:29 +0200
Subject: [PATCH] update pom

---
 pom.xml | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index b51f2f1..a282e19 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>
-- 
GitLab