Installer (java)
Version vom 7. September 2016, 17:18 Uhr von Martin Kirner (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Single Jar File == <pre> <project> ... <build> <finalName>j...</finalName> <resources> ... </resources>…“)
Single Jar File
<project> ... <build> <finalName>j...</finalName> <resources> ... </resources> <plugins> ... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <goals> <goal>attached</goal> </goals> <phase>package</phase> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> <archive> <manifest> <mainClass>...</mainClass> </manifest> </archive> </configuration> </execution> </executions> </plugin> ... <plugins> ... </build> ... </project>