summaryrefslogtreecommitdiffstats
path: root/certServiceClient/pom.xml
diff options
context:
space:
mode:
authorJoanna Jeremicz <joanna.jeremicz@nokia.com>2020-02-20 14:52:01 +0100
committerJoanna Jeremicz <joanna.jeremicz@nokia.com>2020-02-21 07:47:13 +0100
commit272a9a96a2cbb389c2523b694a5f99e8ecf3e5e3 (patch)
treee86e5eabc72362997e94e98a531b3afbac508ebe /certServiceClient/pom.xml
parent18acead623826c43da43da6d0e55e81e1f2953a1 (diff)
Plugins reorder
Shade plugin should run before docker image is built Issue-ID: AAF-996 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I212e029a8f8e1ca15fadc97232dce0205153c980
Diffstat (limited to 'certServiceClient/pom.xml')
-rw-r--r--certServiceClient/pom.xml40
1 files changed, 20 insertions, 20 deletions
diff --git a/certServiceClient/pom.xml b/certServiceClient/pom.xml
index f32501bf..bd51d73e 100644
--- a/certServiceClient/pom.xml
+++ b/certServiceClient/pom.xml
@@ -46,6 +46,26 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>${maven-shade-plugin.version}</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <transformers>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+ <mainClass>org.onap.aaf.certservice.client.CertServiceClientApp</mainClass>
+ </transformer>
+ </transformers>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>${docker-maven-plugin.version}</version>
@@ -87,26 +107,6 @@
</images>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>3.2.2</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>shade</goal>
- </goals>
- <configuration>
- <transformers>
- <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
- <mainClass>org.onap.aaf.certservice.client.CertServiceClientApp</mainClass>
- </transformer>
- </transformers>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
</profile>