Maven Executable JAR: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
* [[Maven_assembly_Plugin#Other_Assembly_Use_Cases|Maven assembly Plugin]] | * [[Maven_assembly_Plugin#Other_Assembly_Use_Cases|Maven assembly Plugin]] | ||
=Overview= | |||
=pom.xml= | |||
<pre> | |||
<project> | <project> | ||
... | |||
<build> | <build> | ||
... | |||
<plugins> | <plugins> | ||
<plugin> | <plugin> | ||
Line 15: | Line 17: | ||
<version>2.2-beta-5</version> | <version>2.2-beta-5</version> | ||
<configuration> | <configuration> | ||
... | |||
<archive> | <archive> | ||
<manifest> | <manifest> | ||
Line 22: | Line 24: | ||
</archive> | </archive> | ||
</configuration> | </configuration> | ||
... | |||
</plugin> | </plugin> | ||
... | |||
</project> | </project> | ||
</pre> | |||
Latest revision as of 15:48, 7 November 2016
Internal
Overview
pom.xml
<project> ... <build> ... <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.2-beta-5</version> <configuration> ... <archive> <manifest> <mainClass>org.sample.App</mainClass> </manifest> </archive> </configuration> ... </plugin> ... </project>