diff options
Diffstat (limited to 'aai-resources/pom.xml')
-rw-r--r-- | aai-resources/pom.xml | 42 |
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> |