summaryrefslogtreecommitdiffstats
path: root/aai-traversal/pom.xml
diff options
context:
space:
mode:
authorHarish Venkata Kajur <vk250x@att.com>2021-08-27 10:59:00 -0400
committerHarish Venkata Kajur <vk250x@att.com>2021-08-27 10:59:22 -0400
commit27f98af97a3cf47d9a8e370dab1d077b355bcdbe (patch)
tree014b09278f1a0f0276be029c7d0cd0491270336b /aai-traversal/pom.xml
parent8fee89a23ace47c64f2a49dfe078d3def93d995c (diff)
Fix the docker image issue missing dependencies
Issue-ID: AAI-3371 Change-Id: Ibacb0c760357f569f35df735ab67cf8ddba4920f Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
Diffstat (limited to 'aai-traversal/pom.xml')
-rw-r--r--aai-traversal/pom.xml35
1 files changed, 27 insertions, 8 deletions
diff --git a/aai-traversal/pom.xml b/aai-traversal/pom.xml
index 75696d6..2cdfd32 100644
--- a/aai-traversal/pom.xml
+++ b/aai-traversal/pom.xml
@@ -28,7 +28,7 @@
<parent>
<groupId>org.onap.aai.traversal</groupId>
<artifactId>traversal</artifactId>
- <version>1.9.0-SNAPSHOT</version>
+ <version>1.9.1-SNAPSHOT</version>
</parent>
<groupId>org.onap.aai.traversal</groupId>
<artifactId>aai-traversal</artifactId>
@@ -191,7 +191,7 @@
</execution>
<execution>
<id>generate-images</id>
- <phase>package</phase>
+ <phase>verify</phase>
<goals>
<goal>build</goal>
</goals>
@@ -927,10 +927,6 @@
</configuration>
</plugin>
<plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- </plugin>
- <plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
</plugin>
@@ -978,7 +974,6 @@
<configuration>
<mainClass>${start-class}</mainClass>
<layout>ZIP</layout>
- <classifier>exec</classifier>
</configuration>
<executions>
<execution>
@@ -988,7 +983,31 @@
</execution>
</executions>
</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>
<artifactId>maven-assembly-plugin</artifactId>