summaryrefslogtreecommitdiffstats
path: root/dmi-service/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'dmi-service/pom.xml')
-rw-r--r--dmi-service/pom.xml68
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