diff options
author | Joanna Jeremicz <joanna.jeremicz@nokia.com> | 2020-02-20 12:14:03 +0100 |
---|---|---|
committer | Joanna Jeremicz <joanna.jeremicz@nokia.com> | 2020-02-20 12:15:12 +0100 |
commit | ff9a464df4c96d9573c19516376c5d8ae60cf258 (patch) | |
tree | cba0e5f6d14479ac2388804b7879249ef7ad8b00 /certServiceClient/pom.xml | |
parent | 5fd9f5fb1dabb4fcc9c117c630b2fbbfc3a25e56 (diff) |
Create fat jar
with shade plugin
Issue-ID: AAF-996
Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com>
Change-Id: I7664a4c26232682e519d0c0a31f84104e6faa5a1
Diffstat (limited to 'certServiceClient/pom.xml')
-rw-r--r-- | certServiceClient/pom.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/certServiceClient/pom.xml b/certServiceClient/pom.xml index 7ba9b5ed..f32501bf 100644 --- a/certServiceClient/pom.xml +++ b/certServiceClient/pom.xml @@ -87,6 +87,26 @@ </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> |