aboutsummaryrefslogtreecommitdiffstats
path: root/ms/neng/pom.xml
diff options
context:
space:
mode:
authorBT2983 <BT2983@att.com>2018-08-20 07:45:32 -0600
committerBT2983 <BT2983@att.com>2018-08-20 07:45:32 -0600
commit674912ebb7a52c8ed4c602818ddad881301871b2 (patch)
treec1265afb6ffde8a83a5a128c029794ff641b19b2 /ms/neng/pom.xml
parent9cbcdacf01abd92ca0952410760d3d8545b23ad8 (diff)
Naming micro-service code.
Using different docker plugin. Change-Id: I2103d3058e9b3d1b95dac49790b244e21d77b39a Issue-ID: CCSDK-342 Signed-off-by: BT2983 <BT2983@att.com>
Diffstat (limited to 'ms/neng/pom.xml')
-rw-r--r--ms/neng/pom.xml64
1 files changed, 55 insertions, 9 deletions
diff --git a/ms/neng/pom.xml b/ms/neng/pom.xml
index d3d4c05e..9cf6f33c 100644
--- a/ms/neng/pom.xml
+++ b/ms/neng/pom.xml
@@ -371,18 +371,13 @@
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
</plugin>
+ <!--
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<verbose>false</verbose>
-<!--
- <authConfig>
- <username></username>
- <password></password>
- </authConfig>
--->
<images>
<image>
<name>onap/ccsdk-apps-ms-neng</name>
@@ -393,7 +388,8 @@
<tags>
<tag>${project.version}</tag>
</tags>
- <assembly>
+
+ <assembly>
<targetDir>/</targetDir>
<inline>
<files>
@@ -410,11 +406,12 @@
</fileSet>
</inline>
</assembly>
+
+
</build>
</image>
</images>
</configuration>
-<!--
<executions>
<execution>
<id>generate-images</id>
@@ -433,7 +430,56 @@
</goals>
</execution>
</executions>
--->
+ </plugin>
+ -->
+
+ <plugin>
+ <groupId>com.spotify</groupId>
+ <artifactId>docker-maven-plugin</artifactId>
+ <version>0.4.11</version>
+ <configuration>
+ <imageName>${docker.registry}/org.onap.ccsdk.apps/${serviceArtifactName}:${project.version}</imageName>
+ <dockerDirectory>src/main/docker</dockerDirectory>
+ <serverId>docker-hub</serverId>
+ <registryUrl>https://${docker.registry}</registryUrl>
+ <imageTags>
+ <imageTag>${project.version}</imageTag>
+ <imageTag>latest</imageTag>
+ </imageTags>
+ <forceTags>true</forceTags>
+ <resources>
+ <resource>
+ <targetPath>/</targetPath>
+ <directory>${project.build.directory}</directory>
+ <include>${project.build.finalName}.jar</include>
+ </resource>
+ <resource>
+ <targetPath>/</targetPath>
+ <directory>${project.build.directory}</directory>
+ <include>opt/etc/config/*</include>
+ </resource>
+ <resource>
+ <targetPath>/</targetPath>
+ <directory>${project.build.directory}</directory>
+ <include>opt/etc/keystore/*</include>
+ </resource>
+ <resource>
+ <targetPath>/</targetPath>
+ <directory>${project.build.directory}</directory>
+ <include>opt/etc/truststore/*</include>
+ </resource>
+ <resource>
+ <targetPath>/</targetPath>
+ <directory>${project.build.directory}</directory>
+ <include>opt/aai/keystore/*</include>
+ </resource>
+ <resource>
+ <targetPath>/</targetPath>
+ <directory>${project.build.directory}</directory>
+ <include>etc/*</include>
+ </resource>
+ </resources>
+ </configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>