summaryrefslogtreecommitdiffstats
path: root/aai-resources/pom.xml
diff options
context:
space:
mode:
authorHarish Venkata Kajur <vk250x@att.com>2021-08-27 10:19:35 -0400
committerHarish Venkata Kajur <vk250x@att.com>2021-08-27 10:51:09 -0400
commitce61edbd873cdabe9375fce41fae273060f3759f (patch)
tree167859303c81b9b94f9a4ede759a9d4e97da885c /aai-resources/pom.xml
parentfcbe41eefab8445a5880528f4e6296eba3f2ab00 (diff)
Fix the docker image issue missing dependencies
Issue-ID: AAI-3371 Change-Id: I1cb120778bd3d62fe4c431b73dec1ce7b0ec3592 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
Diffstat (limited to 'aai-resources/pom.xml')
-rw-r--r--aai-resources/pom.xml42
1 files changed, 27 insertions, 15 deletions
diff --git a/aai-resources/pom.xml b/aai-resources/pom.xml
index 57d8244..2e5786e 100644
--- a/aai-resources/pom.xml
+++ b/aai-resources/pom.xml
@@ -28,7 +28,7 @@
<parent>
<groupId>org.onap.aai.resources</groupId>
<artifactId>resources</artifactId>
- <version>1.9.0-SNAPSHOT</version>
+ <version>1.9.1-SNAPSHOT</version>
</parent>
<properties>
<java.version>1.8</java.version>
@@ -169,7 +169,7 @@
</execution>
<execution>
<id>generate-images</id>
- <phase>package</phase>
+ <phase>verify</phase>
<goals>
<goal>build</goal>
</goals>
@@ -765,14 +765,6 @@
<targetPath>${aai.build.directory}</targetPath>
<filtering>true</filtering>
</resource>
- <resource>
- <directory>${project.build.directory}/</directory>
- <includes>
- <include>${project.artifactId}-${project.version}.jar</include>
- </includes>
- <targetPath>${aai.build.directory}/lib/</targetPath>
- <filtering>false</filtering>
- </resource>
</resources>
<pluginManagement>
<plugins>
@@ -867,10 +859,6 @@
</pluginManagement>
<plugins>
<plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.4.1</version>
@@ -932,12 +920,36 @@
<artifactId>maven-deploy-plugin</artifactId>
</plugin>
<plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>3.0.0</version>
+ <executions>
+ <execution>
+ <id>copy-fat-jar</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${aai.build.directory}/lib/</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${project.build.directory}/</directory>
+ <includes>
+ <include>${project.artifactId}-${project.version}.jar</include>
+ </includes>
+ <filtering>false</filtering>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>${start-class}</mainClass>
<layout>ZIP</layout>
- <classifier>exec</classifier>
</configuration>
<executions>
<execution>