summaryrefslogtreecommitdiffstats
path: root/security-utils
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2018-05-21 09:41:03 +0300
committerMichael Lando <ml636r@att.com>2018-05-21 09:41:23 +0300
commit06681f9451fd5d834b9e0b96ca000c8e2078de25 (patch)
treef6fb9bb4df409bb34d3f7675594d4ffaf4892d2f /security-utils
parentaae1c348606d5e7fbf1f868adc0b18721ef26994 (diff)
update pom to create fat jar
since security utils now has depandencys it needs to be packaged with them. Change-Id: I6db356cf3e849f4fb9588b83f1745a5fe06440c4 Issue-ID: SDC-1346 Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'security-utils')
-rw-r--r--security-utils/pom.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/security-utils/pom.xml b/security-utils/pom.xml
index 56a02fe083..58ac504870 100644
--- a/security-utils/pom.xml
+++ b/security-utils/pom.xml
@@ -36,4 +36,32 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>create.jar.with.dependencies</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <archive>
+ <manifest>
+ <mainClass>org.openecomp.sdc.security.Passwords</mainClass>
+ </manifest>
+ </archive>
+ <descriptorRefs>
+ <descriptorRef>jar-with-dependencies</descriptorRef>
+ </descriptorRefs>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
</project>