Installer (java): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 2: | Zeile 2: | ||
== Single Jar File == | == Launch4J == | ||
=== Single Jar File === | |||
Im Maven-Pom-File folgendes Plugin hinzufügen: | Im Maven-Pom-File folgendes Plugin hinzufügen: | ||
Zeile 49: | Zeile 51: | ||
</project> | </project> | ||
</pre> | </pre> | ||
== IzPack == | |||
[https://github.com/aspear/izpack5-example-installer https://github.com/aspear/izpack5-example-installer] | |||
Zurück zu [[Java]] | Zurück zu [[Java]] |
Version vom 8. September 2016, 16:55 Uhr
Noch in Bearbeitung
Launch4J
Single Jar File
Im Maven-Pom-File folgendes Plugin hinzufügen:
<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>
IzPack
https://github.com/aspear/izpack5-example-installer
Zurück zu Java