From 041accd042b46c0d4aead549070c15f537a7a3e6 Mon Sep 17 00:00:00 2001
From: Nicola Fulvio Calabria <calabria@oats.inaf.it>
Date: Thu, 2 Mar 2023 23:13:57 +0000
Subject: [PATCH] Update pom.xml

---
 pom.xml | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 3edd4b3..4e9bf61 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,7 +60,32 @@
     </dependencies>
     <build>
         <finalName>${finalName}</finalName>
-        <plugins>            
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>flatten-maven-plugin</artifactId>
+                <version>1.1.0</version>
+                <configuration>
+                    <updatePomFile>true</updatePomFile>
+                    <flattenMode>resolveCiFriendliesOnly</flattenMode>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>flatten</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>flatten</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>flatten.clean</id>
+                        <phase>clean</phase>
+                        <goals>
+                            <goal>clean</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <version>2.22.2</version>
-- 
GitLab