Reenable tests for the mso-catalog-db module 70/140170/1
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fri, 7 Feb 2025 12:33:04 +0000 (13:33 +0100)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fri, 7 Feb 2025 12:33:04 +0000 (13:33 +0100)
- add vintage engine dep for mso-catalog-db module
- use https urls for repository urls since maven central
  is not accepting http connections anymore [0]

[0] https://www.sonatype.com/blog/central-repository-moving-to-https

Issue-ID: SO-4137
Change-Id: I0328575020d32db00f50b6ae57e888688b09a54b
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
adapters/mso-requests-db-adapter/pom.xml
deployment-configs/pom.xml
mso-catalog-db/pom.xml
pom.xml

index 5d78f27..066e3e6 100644 (file)
@@ -83,7 +83,7 @@
     <pluginRepository>
       <id>apache.snapshots</id>
       <name>Maven Plugin Snapshots</name>
-      <url>http://repository.apache.org/snapshots/</url>
+      <url>https://repository.apache.org/snapshots/</url>
       <snapshots>
         <enabled>true</enabled>
       </snapshots>
     </plugins>
     <pluginManagement>
       <plugins>
-        <!--This plugin's configuration is used to store Eclipse m2e settings 
+        <!--This plugin's configuration is used to store Eclipse m2e settings
                                        only. It has no influence on the Maven build itself. -->
         <plugin>
           <groupId>org.eclipse.m2e</groupId>
index f540e5a..c3ee2bc 100644 (file)
@@ -9,7 +9,7 @@
   </parent>
   <artifactId>deployment-configs</artifactId>
   <name>deployment-configs</name>
-  <url>http://maven.apache.org</url>
+  <url>https://maven.apache.org</url>
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   </properties>
index 0285dea..89651ec 100644 (file)
       <artifactId>spring-boot-starter-test</artifactId>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.junit.vintage</groupId>
+      <artifactId>junit-vintage-engine</artifactId>
+      <scope>test</scope>
+    </dependency>
     <dependency>
       <groupId>ch.vorburger.mariaDB4j</groupId>
       <artifactId>mariaDB4j</artifactId>
diff --git a/pom.xml b/pom.xml
index f2e0fa1..cc9141f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
        </description>
   <organization>
     <name>ONAP - SO</name>
-    <url>http://www.onap.org/</url>
+    <url>https://www.onap.org/</url>
   </organization>
   <modules>
     <module>deployment-configs</module>
   <pluginRepositories>
     <pluginRepository>
       <id>central</id>
-      <url>http://repo1.maven.org/maven2</url>
+      <url>https://repo1.maven.org/maven2</url>
     </pluginRepository>
     <pluginRepository>
       <id>restlet</id>
-      <url>http://maven.restlet.com</url>
+      <url>https://maven.restlet.com</url>
     </pluginRepository>
     <pluginRepository>
       <id>onap-public</id>
                             f = new File( p );
                             if( f.exists() ) {
                                 break;
-                            }   
+                            }
                             p = "../" + p;
                         }
                     }
                     if( f != null ) {
                         String basePath = f.getCanonicalPath();
-                        basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) ); 
+                        basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) );
                         project.properties['base-path'] = basePath.replace( '\\' , '/');
                         log.info(' - used base path = ' + project.properties['base-path'] );
                     } else {
             <skipBuild>${docker.skip.build}</skipBuild>
             <skipPush>${docker.skip.push}</skipPush>
             <dockerHost>${docker.newHost}</dockerHost>
-            <!-- 1. Update address to your local docker VM. 2. Add IP to 
+            <!-- 1. Update address to your local docker VM. 2. Add IP to
               your NO_PROXY environment variable -->
             <certPath>${docker.host.cert.path}</certPath>
-            <!-- Add -Ddocker.host.cert.pat="path to your local certs directory" 
+            <!-- Add -Ddocker.host.cert.pat="path to your local certs directory"
               to maven build command -->
             <pushRegistry>${dockerPushRepo}</pushRegistry>
-            <!-- Update .m2/settings.xml Add server id settings.dockerRepository, 
+            <!-- Update .m2/settings.xml Add server id settings.dockerRepository,
               username, and password -->
             <pullRegistry>${dockerPullRepo}</pullRegistry>
-            <!-- If docker repo is not public. Update .m2/settings.xml Add 
+            <!-- If docker repo is not public. Update .m2/settings.xml Add
               server id settings.dockerRepository, username, and password -->
             <images>
               <image>