Add maven-assembly-plugin to pom.xml 69/71469/1
authorArthur Martella <arthur.martella.1@att.com>
Tue, 30 Oct 2018 14:35:33 +0000 (10:35 -0400)
committerArthur Martella <arthur.martella.1@att.com>
Tue, 30 Oct 2018 14:35:33 +0000 (10:35 -0400)
This will build mdbc-0.0.1-SNAPSHOT-jar-with-dependencies.jar to
run the server.

Change-Id: I63ee5f7d04c9bccb7f53e2f058ed28a55d21a528
Issue-ID: MUSIC-158
Signed-off-by: Arthur Martella <arthur.martella.1@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 05994f5..769d047 100755 (executable)
--- a/pom.xml
+++ b/pom.xml
                     <target>8</target>
                 </configuration>
             </plugin>
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>3.1.0</version>
+                <configuration>
+                    <descriptorRefs>
+                        <descriptorRef>jar-with-dependencies</descriptorRef>
+                    </descriptorRefs>
+                </configuration>
+                <executions>
+                    <execution>
+                      <id>make-assembly</id> <!-- this is used for inheritance merges -->
+                      <phase>package</phase> <!-- bind to the packaging phase -->
+                      <goals>
+                          <goal>single</goal>
+                      </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>