diff --git a/oce-main/oce-ui/pom.xml b/oce-main/oce-ui/pom.xml
index ebc6d348f..60cb463f0 100644
--- a/oce-main/oce-ui/pom.xml
+++ b/oce-main/oce-ui/pom.xml
@@ -56,7 +56,7 @@
javafx-maven-plugin
2.0
- de.sebastianstenzel.oce.ui.MainWindow
+ ${exec.mainClass}
@@ -68,7 +68,7 @@
${javafx.version}
${exec.mainClass}
- com/javafx/main/Main
+ ${exec.mainClass}