summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authormukesh.paliwal <mukesh.paliwal1@huawei.com>2021-02-22 08:32:37 +0530
committermukesh.paliwal <mukesh.paliwal1@huawei.com>2021-02-22 14:32:23 +0530
commitd78fcd674a6e175f308715e329ba0a71afa9e81f (patch)
tree6984ee59dbc4cb9e746af28051d66b8aa901e114 /pom.xml
parent132fd925fc1f879627a643f9852b7843553ec3a7 (diff)
split mso-oof-adapter from SO, docker build
Issue-ID: SO-3522 Signed-off-by: mukesh.paliwal <mukesh.paliwal1@huawei.com> Change-Id: Ic739c20fa124da7cacf6718ba60f7171f8c9b8b1
Diffstat (limited to 'pom.xml')
-rwxr-xr-xpom.xml31
1 files changed, 30 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 4c60d69..a4f1a3a 100755
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
<parent>
<groupId>org.onap.so</groupId>
<artifactId>adapters</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.8.0-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.adapters</groupId>
<artifactId>so-oof-adapter</artifactId>
@@ -158,6 +158,35 @@
</dependency>
</dependencies>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.6.0</version>
+ <executions>
+ <execution>
+ <id>docker-build</id>
+ <phase>install</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <dockerFile>Dockerfile.so-cnf-adapter</dockerFile>
+ <executable>docker</executable>
+ <workingDirectory>${project.basedir}</workingDirectory>
+ <arguments>
+ <argument>build</argument>
+ <argument>-t</argument>
+ <argument>onap/so/${project.artifactId}:${project.version}</argument>
+ <argument>.</argument>
+ </arguments>
+ <buildArgs>
+ <JAR_FILE>${project.artifactId}-${project.version}.jar</JAR_FILE>
+ <ARTIFACT_ID>${project.artifactId}</ARTIFACT_ID>
+ </buildArgs>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
<resources>
<resource>