From 9d636a3567dac43e3e1942e58eedf9257219d6e5 Mon Sep 17 00:00:00 2001
From: x-rodubou <romuald.dubourg@kereval.com>
Date: Wed, 26 Jun 2024 14:05:12 +0200
Subject: [PATCH] [Fix] ci

---
 mhd-fhir-server-simulator/README.md |  8 ++--
 pom.xml                             | 60 +++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+), 4 deletions(-)

diff --git a/mhd-fhir-server-simulator/README.md b/mhd-fhir-server-simulator/README.md
index 1a900a7..02d4f1b 100644
--- a/mhd-fhir-server-simulator/README.md
+++ b/mhd-fhir-server-simulator/README.md
@@ -1,4 +1,4 @@
-# pdqm-fhir-server-simulator
+# mhd-fhir-server-simulator
 
 This project uses Quarkus, the Supersonic Subatomic Java Framework.
 
@@ -49,7 +49,7 @@ Or, if you don't have GraalVM installed, you can run the native executable build
 ./mvnw package -Dnative -Dquarkus.native.container-build=true
 ```
 
-You can then execute your native executable with: `./target/pdqm-fhir-server-simulator-1.0.0-SNAPSHOT-runner`
+You can then execute your native executable with: `./target/mhd-fhir-server-simulator-1.0.0-SNAPSHOT-runner`
 
 If you want to learn more about building native executables, please consult https://quarkus.io/guides/maven-tooling.
 
@@ -64,8 +64,8 @@ Easily start your Reactive RESTful Web Services
 ## Building the Docker image
 
 ```shell script
-cd pdqm-fhir-server-simulator
-docker build -f src/main/docker/Dockerfile.jvm -t rg.fr-par.scw.cloud/gazelle-snapshot/app/pdqm-fhir-simulators:1.0.0-SNAPSHOT .
+cd mhd-fhir-server-simulator
+docker build -f src/main/docker/Dockerfile.jvm -t rg.fr-par.scw.cloud/gazelle-snapshot/app/mhd-fhir-simulators:1.0.0-SNAPSHOT .
 ```
 
 ## Running the Docker image
diff --git a/pom.xml b/pom.xml
index 458321e..2feaf53 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,67 @@
     <name>MHD FHIR Server Simulator</name>
 
 
+    <scm>
+        <connection>scm:git:${git.project.url}</connection>
+        <url>scm:git:${git.project.url}</url>
+        <developerConnection>scm:git:${git.project.url}</developerConnection>
+        <tag>HEAD</tag>
+    </scm>
+
+    <distributionManagement>
+        <repository>
+            <id>nexus-releases</id>
+            <url>https://gazelle.ihe.net/nexus/content/repositories/releases</url>
+        </repository>
+        <snapshotRepository>
+            <id>nexus-snapshots</id>
+            <url>https://gazelle.ihe.net/nexus/content/repositories/snapshots/</url>
+        </snapshotRepository>
+    </distributionManagement>
+
+    <licenses>
+        <license>
+            <name>Apache License, Version 2.0</name>
+            <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
+            <distribution>repo</distribution>
+        </license>
+    </licenses>
+
+    <contributors>
+        <contributor>
+            <organization>IHE Europe</organization>
+            <organizationUrl>http://www.ihe-europe.net</organizationUrl>
+        </contributor>
+        <contributor>
+            <organization>Kereval</organization>
+            <organizationUrl>https://www.kereval.com</organizationUrl>
+        </contributor>
+    </contributors>
+
+    <repositories>
+        <repository>
+            <id>IHE</id>
+            <name>IHE Public Maven Repository Group</name>
+            <url>https://gazelle.ihe.net/nexus/content/groups/public/</url>
+            <layout>default</layout>
+            <releases>
+                <enabled>true</enabled>
+                <updatePolicy>never</updatePolicy>
+            </releases>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+        </repository>
+    </repositories>
+
+
     <properties>
+        <git.user.name>gitlab-ci</git.user.name>
+        <git.user.token>changeit</git.user.token>
+
+        <git.project.url>
+            https://${git.user.name}:${git.user.token}@gitlab.inria.fr/gazelle/public/simulation/mhd-fhir-simulators.git
+        </git.project.url>
         <maven.compiler.source>17</maven.compiler.source>
         <maven.compiler.target>17</maven.compiler.target>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-- 
GitLab