diff options
author | Pawel <pawel.kasperkiewicz@nokia.com> | 2020-03-03 12:39:44 +0100 |
---|---|---|
committer | Pawel <pawel.kasperkiewicz@nokia.com> | 2020-03-05 14:11:53 +0100 |
commit | 0ace1a35f65fe1b621b1a56361bc0de2aa135329 (patch) | |
tree | f156bbf0d14d5fb2f2d374ed972c211447d403e6 /security/crypt-password/pom.xml | |
parent | 7f83d709f540876fe290614ef47d9b91044936bd (diff) |
Crete jar without dependencies
Issue-ID: DCAEGEN2-2107
Signed-off-by: Pawel <pawel.kasperkiewicz@nokia.com>
Change-Id: Ib850353e3cde022922a7a2b22f90d4327c7e2b7d
Diffstat (limited to 'security/crypt-password/pom.xml')
-rw-r--r-- | security/crypt-password/pom.xml | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/security/crypt-password/pom.xml b/security/crypt-password/pom.xml index e6d82e79..3c04a80b 100644 --- a/security/crypt-password/pom.xml +++ b/security/crypt-password/pom.xml @@ -6,7 +6,7 @@ <parent> <groupId>org.onap.dcaegen2.services.sdk.security</groupId> <artifactId>dcaegen2-services-sdk-security</artifactId> - <version>1.4.0-SNAPSHOT</version> + <version>1.5.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> @@ -15,6 +15,10 @@ <name>Security :: Crypt Password</name> <description>DMaaP Security Module</description> + <properties> + <maven-jar-plugin.version>3.2.0</maven-jar-plugin.version> + <maven-shade-plugin.version>3.2.1</maven-shade-plugin.version> + </properties> <packaging>jar</packaging> <dependencies> @@ -47,7 +51,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> - <version>3.2.1</version> + <version>${maven-shade-plugin.version}</version> <executions> <execution> <phase>package</phase> @@ -65,6 +69,20 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>${maven-jar-plugin.version}</version> + <executions> + <execution> + <id>only-library</id> + <goals><goal>jar</goal></goals> + <configuration> + <classifier>slim</classifier> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> |