update pom to create fat jar 59/48259/1
authorMichael Lando <ml636r@att.com>
Mon, 21 May 2018 06:41:03 +0000 (09:41 +0300)
committerMichael Lando <ml636r@att.com>
Mon, 21 May 2018 06:41:23 +0000 (09:41 +0300)
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>
security-utils/pom.xml

index 56a02fe..58ac504 100644 (file)
                </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>