Skip to content

Commit e1b59f1

Browse files
author
michele
committed
mvn jar-with-dependencies
1 parent 60b73bd commit e1b59f1

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,29 @@
9999
</execution>
100100
</executions>
101101
</plugin>
102+
<plugin>
103+
<groupId>org.apache.maven.plugins</groupId>
104+
<artifactId>maven-assembly-plugin</artifactId>
105+
<executions>
106+
<execution>
107+
<id>assembly</id>
108+
<phase>package</phase>
109+
<goals>
110+
<goal>single</goal>
111+
</goals>
112+
</execution>
113+
</executions>
114+
<configuration>
115+
<finalName>
116+
${project.artifactId}-${project.version}-standalone
117+
</finalName>
118+
<attach>false</attach>
119+
<appendAssemblyId>false</appendAssemblyId>
120+
<descriptorRefs>
121+
<descriptorRef>jar-with-dependencies</descriptorRef>
122+
</descriptorRefs>
123+
</configuration>
124+
</plugin>
102125
</plugins>
103126
</build>
104127

0 commit comments

Comments
 (0)