- fixed main class issue when starting with java -jar

This commit is contained in:
Sebastian Stenzel 2014-02-02 14:27:47 +01:00
parent cbbfbf3dda
commit 392ccdd20a

View File

@ -56,7 +56,7 @@
<artifactId>javafx-maven-plugin</artifactId>
<version>2.0</version>
<configuration>
<mainClass>de.sebastianstenzel.oce.ui.MainWindow</mainClass>
<mainClass>${exec.mainClass}</mainClass>
</configuration>
</plugin>
@ -68,7 +68,7 @@
<manifestEntries>
<JavaFX-Version>${javafx.version}</JavaFX-Version>
<JavaFX-Application-Class>${exec.mainClass}</JavaFX-Application-Class>
<Main-Class>com/javafx/main/Main</Main-Class>
<Main-Class>${exec.mainClass}</Main-Class>
</manifestEntries>
</archive>
<descriptorRefs>