From bd50b92f4013ccf1667c37912026084665544e60 Mon Sep 17 00:00:00 2001 From: bwalding Date: Wed, 26 Mar 2003 10:27:17 +0000 Subject: [PATCH] o Give the ability to set a Main-Class attribute in the manifest git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113192 13f79535-47bb-0310-9956-ffa450edef68 --- java/plugin.jelly | 6 +++++- java/plugin.properties | 3 ++- java/xdocs/properties.xml | 8 ++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) 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