Align dependencies with DMI-Plugin 65/134265/2
authorToineSiebelink <toine.siebelink@est.tech>
Thu, 20 Apr 2023 17:15:54 +0000 (18:15 +0100)
committerToineSiebelink <toine.siebelink@est.tech>
Thu, 20 Apr 2023 17:33:06 +0000 (18:33 +0100)
- Use bom for testcontainer versions
- Remove 'version' jib-maven-plugin.version (i.e. use latest or defined by oparent?)
- remove 'version from swagger-codegen-maven-plugin (i.e. use latest or defined by oparent?)

Issue-ID: CPS-1627

Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: Ic76302ae39e9ed723af3d6d496046daa9eccbd42

cps-application/pom.xml
cps-dependencies/pom.xml
cps-parent/pom.xml

index 5d3fbf8..7cfbf4e 100755 (executable)
@@ -36,7 +36,6 @@
 
     <properties>
         <app>org.onap.cps.Application</app>
-        <jib-maven-plugin.version>2.8.0</jib-maven-plugin.version>
         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
         <minimum-coverage>0.82</minimum-coverage>
         <base.image>${docker.pull.registry}/onap/integration-java11:8.0.0</base.image>
                 <plugin>
                     <groupId>com.google.cloud.tools</groupId>
                     <artifactId>jib-maven-plugin</artifactId>
-                    <version>${jib-maven-plugin.version}</version>
                     <configuration>
                         <container>
                             <mainClass>${app}</mainClass>
index 6f8595b..ab1e410 100755 (executable)
             </dependency>
             <dependency>
                 <groupId>org.testcontainers</groupId>
-                <artifactId>kafka</artifactId>
-                <version>${testcontainers.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.testcontainers</groupId>
-                <artifactId>postgresql</artifactId>
-                <version>${testcontainers.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.testcontainers</groupId>
-                <artifactId>spock</artifactId>
-                <version>${testcontainers.version}</version>
+                <artifactId>testcontainers-bom</artifactId>
+                <version>1.17.3</version>
+                <type>pom</type>
+                <scope>import</scope>
             </dependency>
             <dependency>
                 <groupId>com.github.spotbugs</groupId>
index 9c229aa..6951ac9 100755 (executable)
                 <plugin>
                     <groupId>io.swagger.codegen.v3</groupId>
                     <artifactId>swagger-codegen-maven-plugin</artifactId>
-                    <version>3.0.27</version>
                     <executions>
                         <execution>
                             <id>openapi-yaml-gen</id>