From 2a0fc963d6d0962a86563d160c4d9f3456c83792 Mon Sep 17 00:00:00 2001
From: fde <franck.desaize@kereval.com>
Date: Fri, 11 Sep 2020 14:14:15 +0200
Subject: [PATCH] Update pom and setting

---
 gvt-validation-jar/pom.xml |  13 ++--
 pom.xml                    |   2 +-
 settings.xml               | 137 +++++++++++++++++++++++++++++++++++++
 3 files changed, 146 insertions(+), 6 deletions(-)

diff --git a/gvt-validation-jar/pom.xml b/gvt-validation-jar/pom.xml
index 80958799..c09593d1 100644
--- a/gvt-validation-jar/pom.xml
+++ b/gvt-validation-jar/pom.xml
@@ -69,14 +69,17 @@
         <dependency>
             <groupId>gov.nist</groupId>
             <artifactId>hl7-v2-validation</artifactId>
-            <version>1.4.2</version>
-            <type>pom</type>
+            <version>1.4.2-GAZELLE</version>
         </dependency>
-
         <dependency>
             <groupId>gov.nist</groupId>
-            <artifactId>hl7-v2-validation</artifactId>
-            <version>1.4.2</version>
+            <artifactId>hl7-v2-profile</artifactId>
+            <version>1.4.2-GAZELLE</version>
+        </dependency>
+        <dependency>
+            <groupId>gov.nist</groupId>
+            <artifactId>xml-util</artifactId>
+            <version>1.0.1-GAZELLE</version>
         </dependency>
         <dependency>
             <groupId>net.ihe.gazelle</groupId>
diff --git a/pom.xml b/pom.xml
index 4eee668c..37b97b65 100644
--- a/pom.xml
+++ b/pom.xml
@@ -295,7 +295,7 @@
         <repository>
             <id>Nist</id>
             <name>Nist Public Maven Repository Group</name>
-            <url>https://hit-dev.nist.gov:9001/repository/public/</url>
+            <url>https://gazelle.ihe.net/nexus/content/groups/public</url>
             <layout>default</layout>
         </repository>
     </repositories>
diff --git a/settings.xml b/settings.xml
index 915d9020..76903ff5 100644
--- a/settings.xml
+++ b/settings.xml
@@ -13,9 +13,146 @@
         </server>
     </servers>
 
+    <mirrors>
+        <mirror>
+            <id>nexus</id>
+            <mirrorOf>*,!nist-repo</mirrorOf>
+            <url>https://gazelle.ihe.net/nexus/content/groups/public</url>
+        </mirror>
+    </mirrors>
+
     <pluginGroups>
+
+
         <pluginGroup>com.googlecode.crowdin-maven</pluginGroup>
         <pluginGroup>org.flyway</pluginGroup>
         <pluginGroup>org.jboss.tattletale</pluginGroup>
     </pluginGroups>
+
+    <profiles>
+        <profile>
+            <id>default</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <repositories>
+                <repository>
+                    <id>nist-repo</id>
+                    <url>>https://gazelle.ihe.net/nexus/content/groups/public</url>
+                    <layout>default</layout>
+                </repository>
+
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>eviwarePluginRepository</id>
+                    <url>http://www.soapui.org/repository/maven2/</url>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
+        <profile>
+            <id>jboss.repositories</id>
+            <activation>
+                <property>
+                    <name>!jboss.repository.off</name>
+                </property>
+            </activation>
+            <repositories>
+                <repository>
+                    <id>prime-repo</id>
+                    <name>Prime Technology Maven Repository</name>
+                    <url>http://repository.prime.com.tr</url>
+                    <layout>default</layout>
+                </repository>
+                <repository>
+                    <id>atmosphere-repo</id>
+                    <name>Atmosphere Maven Repository</name>
+                    <url>http://download.java.net/maven/2/</url>
+                </repository>
+<!--                <repository>-->
+<!--                    <id>gazelle</id>-->
+<!--                    <name>gazelle-repository</name>-->
+<!--                    <url>/home/aberge/.m2/repository</url>-->
+<!--                </repository>-->
+                <repository>
+                    <id>maven2-repository.dev.java.net</id>
+                    <name>Java.net Repository for Maven</name>
+                    <url>http://download.java.net/maven/2/</url>
+                    <layout>default</layout>
+                </repository>
+                <repository>
+                    <id>jboss-releases</id>
+                    <url>http://repository.jboss.org/maven2</url>
+                    <releases>
+                        <enabled>true</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>false</enabled>
+                    </snapshots>
+                </repository>
+                <repository>
+                    <id>jboss-snapshots</id>
+                    <url>http://snapshots.jboss.org/maven2</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+                <repository>
+                    <id>apache-snapshots</id>
+                    <name>Apache SNAPSHOT Repository</name>
+                    <url>http://repository.apache.org/snapshots/</url>
+                    <releases>
+                        <enabled>true</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+                <repository>
+                    <id>oss-snapshots</id>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                    <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>jboss-releases</id>
+                    <url>http://repository.jboss.org/maven2</url>
+                    <releases>
+                        <enabled>true</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>false</enabled>
+                    </snapshots>
+                </pluginRepository>
+                <pluginRepository>
+                    <id>jboss-snapshots</id>
+                    <url>http://snapshots.jboss.org/maven2</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+                <pluginRepository>
+                    <id>apache-snapshots</id>
+                    <name>Apache SNAPSHOT Repository</name>
+                    <url>http://repository.apache.org/snapshots/</url>
+                    <releases>
+                        <enabled>true</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
+    </profiles>
+
 </settings>
-- 
GitLab