diff options
author | sg481n <sg481n@att.com> | 2017-09-24 21:23:40 +0000 |
---|---|---|
committer | sg481n <sg481n@att.com> | 2017-09-24 21:23:46 +0000 |
commit | cd57764b31777830a2dd2d35ee063b5ea5c30cc3 (patch) | |
tree | cec636279dbfda7d2531af33d2e27076403768cf | |
parent | 2baf3d9dc4dbeeba6ea6702c740c346abc08fd03 (diff) |
Release docker image of AAF to nexus
Issue-id: AAF-59
Change-Id: I2334d14f81e51a9509563376722205fd33a0f52c
Signed-off-by: sg481n <sg481n@att.com>
-rw-r--r-- | authz-service/pom.xml | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/authz-service/pom.xml b/authz-service/pom.xml index 4d8940f0..ad7ebd4a 100644 --- a/authz-service/pom.xml +++ b/authz-service/pom.xml @@ -155,27 +155,39 @@ <version>1.0.0</version>
<configuration>
<imageName>onap/aaf/authz-service</imageName>
- <dockerDirectory>${dockerLocation}</dockerDirectory>
+ <!-- <dockerDirectory>${dockerLocation}</dockerDirectory> -->
+ <dockerDirectory>${basedir}/src/main/resources/docker</dockerDirectory>
<imageTags>
<imageTag>latest</imageTag>
<imageTag>${project.docker.latesttagtimestamp.version}</imageTag>
<imageTag>${project.docker.latesttag.version}</imageTag>
</imageTags>
<forceTags>true</forceTags>
- <resources>
+ <!-- <resources>
<resource>
<targetPath>/</targetPath>
<directory>${project.build.directory}/opt</directory>
<filtering>true</filtering>
<includes>
- <include>**/*</include>
+ <include>**/**</include>
</includes>
</resource>
- </resources>
-
+ </resources> -->
+ <resources>
+ <resource>
+ <targetPath>/</targetPath>
+ <directory>${project.build.directory}/opt</directory>
+ <include>${project.build.finalName}.jar</include>
+ </resource>
+ <resource>
+ <targetPath>/</targetPath>
+ <directory>${project.build.directory}</directory>
+ <include>**/**</include>
+ </resource>
+ </resources>
</configuration>
<executions>
- <!-- <execution>
+ <execution>
<id>build-image</id>
<phase>package</phase>
<goals>
@@ -184,7 +196,7 @@ <configuration>
<skipDockerBuild>${skip.docker.build}</skipDockerBuild>
</configuration>
- </execution> -->
+ </execution>
<execution>
<id>tag-image-latest-timestamp</id>
|