Last active
March 10, 2019 12:17
-
-
Save ezhov-da/94484691d709edd4d89d443381999c07 to your computer and use it in GitHub Desktop.
Сборка в один jar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--http://maven.apache.org/plugins/maven-assembly-plugin/usage.html--> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<version>3.1.0</version> | |
<configuration> | |
<descriptorRefs> | |
<descriptorRef>jar-with-dependencies</descriptorRef> | |
</descriptorRefs> | |
<archive> | |
<manifest> | |
<mainClass>ru.ezhov.App</mainClass> | |
</manifest> | |
</archive> | |
<finalName>${artifactId}</finalName> | |
<appendAssemblyId>false</appendAssemblyId> | |
</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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment