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>
diff --git a/security-utils/pom.xml b/security-utils/pom.xml
index 56a02fe..58ac504 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>