Maven assembly plugin
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Tue, 4 Oct 2016 19:10:31 +0000 (21:10 +0200)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Tue, 4 Oct 2016 19:10:31 +0000 (21:10 +0200)
pom.xml

diff --git a/pom.xml b/pom.xml
index f194624..a71418c 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                     <encoding>${project.build.sourceEncoding}</encoding>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>2.6</version>
+                <configuration>
+                    <archive>
+                        <manifest>
+                            <mainClass>com.prueba.MainRun</mainClass>
+                        </manifest>
+                    </archive>
+                    <descriptorRefs>
+                        <descriptorRef>jar-with-dependencies</descriptorRef>
+                    </descriptorRefs>
+                </configuration>
+            </plugin>
+
 
             <plugin>
                 <groupId>org.jacoco</groupId>