diff options
author | sourabh_sourabh <sourabh.sourabh@est.tech> | 2024-11-13 16:48:46 +0000 |
---|---|---|
committer | sourabh_sourabh <sourabh.sourabh@est.tech> | 2024-11-13 16:48:46 +0000 |
commit | 6c877ba9d5e1dfde569593ed88652b93b10ba4a6 (patch) | |
tree | beed9e518388e08a9011741f5c1d23884a83e9c0 /dmi-service | |
parent | 62abb22f7c495892afc45d72b8994112ebf1dfb5 (diff) |
Fix for cps-ncmp-dmi-plugin-maven-merge-master job
Issue-ID: CPS-2496
Change-Id: I66f3a215188eed6dd7c83a52ce831d97f9c0db46
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Diffstat (limited to 'dmi-service')
-rw-r--r-- | dmi-service/pom.xml | 68 |
1 files changed, 2 insertions, 66 deletions
diff --git a/dmi-service/pom.xml b/dmi-service/pom.xml index fccdfaad..306d6118 100644 --- a/dmi-service/pom.xml +++ b/dmi-service/pom.xml @@ -29,13 +29,9 @@ <artifactId>dmi-service</artifactId> <properties> - <app>org.onap.cps.ncmp.dmi.Application</app> - <base.image>${docker.pull.registry}/onap/integration-java17:12.0.0</base.image> - <image.tag>${project.version}-${maven.build.timestamp}</image.tag> <jacoco.minimum.coverage>0.98</jacoco.minimum.coverage> - <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> + <dependencyManagement> <dependencies> <dependency> @@ -413,6 +409,7 @@ <plugin> <groupId>org.codehaus.gmavenplus</groupId> <artifactId>gmavenplus-plugin</artifactId> + <version>4.0.1</version> <executions> <execution> <goals> @@ -533,66 +530,5 @@ </executions> </plugin> </plugins> - <pluginManagement> - <plugins> - <plugin> - <groupId>com.google.cloud.tools</groupId> - <artifactId>jib-maven-plugin</artifactId> - <version>3.3.2</version> - <configuration> - <container> - <mainClass>${app}</mainClass> - <creationTime>USE_CURRENT_TIMESTAMP</creationTime> - </container> - <from> - <image>${base.image}</image> - </from> - <to> - <tags> - <tag>latest</tag> - <tag>${project.version}-latest</tag> - </tags> - <image>${docker.push.registry}/onap/${image.name}:${image.tag}</image> - </to> - </configuration> - <executions> - <execution> - <phase>package</phase> - <id>build</id> - <goals> - <goal>dockerBuild</goal> - </goals> - </execution> - <execution> - <phase>deploy</phase> - <id>buildAndPush</id> - <goals> - <goal>build</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </pluginManagement> </build> - <profiles> - <profile> - <id>docker</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <properties> - <image.name>ncmp-dmi-plugin</image.name> - </properties> - <build> - <plugins> - <plugin> - <groupId>com.google.cloud.tools</groupId> - <artifactId>jib-maven-plugin</artifactId> - </plugin> - </plugins> - </build> - </profile> - </profiles> - </project>
\ No newline at end of file |