diff --git a/java/plugin.jelly b/java/plugin.jelly
index c24e2593..8ed838e6 100644
--- a/java/plugin.jelly
+++ b/java/plugin.jelly
@@ -173,7 +173,7 @@
-
+
@@ -181,6 +181,10 @@
+
+
+
+
diff --git a/java/plugin.properties b/java/plugin.properties
index 27c31188..4670466d 100644
--- a/java/plugin.properties
+++ b/java/plugin.properties
@@ -2,4 +2,5 @@
# P L U G I N P R O P E R T I E S
# -------------------------------------------------------------------
-maven.jar.manifest = ${maven.conf.dir}/Manifest.mf
\ No newline at end of file
+maven.jar.manifest = ${maven.conf.dir}/Manifest.mf
+maven.jar.mainclass =
\ No newline at end of file
diff --git a/java/xdocs/properties.xml b/java/xdocs/properties.xml
index d04223fb..45f9a35d 100644
--- a/java/xdocs/properties.xml
+++ b/java/xdocs/properties.xml
@@ -219,6 +219,14 @@
property will override Maven's defaults.
+
+ | maven.jar.mainclass |
+ Yes |
+
+ Specifies the Main-Class attribute for your manifest. If not set,
+ no MainClass attribute will be added to the manifest.
+ |
+
| maven.jarResources.basedir |
Yes |