Update so parent pom in cnf-adapter 59/141359/1
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Mon, 23 Jun 2025 12:08:18 +0000 (14:08 +0200)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Mon, 23 Jun 2025 12:15:26 +0000 (14:15 +0200)
- update so parent pom (1.12.1-SNAPSHOT -> 1.15.0-SNAPSHOT)
- this may seem like a huge jump, but this is actually not
  changing much:
  - update snakeyaml (1.26 -> 1.31)
  - change scope of some test deps from compile to test (mockito, junit-toolbox)
- keep the h2 test dependency at the 1.X version since updating
  it would require a flyway update.
  I don't want to do that here to reduce the risk of breaking
  changes

Issue-ID: SO-4180
Change-Id: I7685390183736dab50a53f8cbd9565f70e0f72d5
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
pom.xml

diff --git a/pom.xml b/pom.xml
index 0cd05fd..519ca1b 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
     <parent>
         <groupId>org.onap.so</groupId>
         <artifactId>so</artifactId>
-        <version>1.12.1-SNAPSHOT</version>
+        <version>1.15.0-SNAPSHOT</version>
     </parent>
     <groupId>org.onap.so.adapters.so-cnf-adapter</groupId>
     <artifactId>so-cnf-adapter</artifactId>
         </plugins>
     </build>
 
+    <!-- The 1.13.0-SNAPSHOT so common pom updated the
+     h2 dependency to 2.X without also updating flyway.
+     TODO: remove this once this service is updated to
+     the 1.15.6 common pom -->
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>com.h2database</groupId>
+                <artifactId>h2</artifactId>
+                <version>1.4.200</version>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
     <modules>
         <module>so-cnf-adapter-application</module>
         <module>so-cnfm</module>