From e6e44622a67a880cefd04d364008dab6ced0188d Mon Sep 17 00:00:00 2001 From: evenisse Date: Thu, 24 Apr 2003 13:06:22 +0000 Subject: [PATCH] Add the possibility to choose the main jar. Thanks to Dominique Collette. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113379 13f79535-47bb-0310-9956-ffa450edef68 --- jnlp/plugin.jelly | 20 ++++++++++++++++++-- jnlp/project.xml | 2 +- jnlp/xdocs/changes.xml | 16 ++++++++++++++++ jnlp/xdocs/properties.xml | 24 +++++++++++++++++++++++- 4 files changed, 58 insertions(+), 4 deletions(-) create mode 100644 jnlp/xdocs/changes.xml diff --git a/jnlp/plugin.jelly b/jnlp/plugin.jelly index a33ef72d..a6cc0d5a 100644 --- a/jnlp/plugin.jelly +++ b/jnlp/plugin.jelly @@ -82,16 +82,32 @@ - + - + + + + + + + + + + + + + + + + + ${maven.jnlp.properties} diff --git a/jnlp/project.xml b/jnlp/project.xml index 402807de..bc724454 100644 --- a/jnlp/project.xml +++ b/jnlp/project.xml @@ -5,7 +5,7 @@ 3 maven-jnlp-plugin Maven JNLP Plug-in - 1.0 + 1.1 JNLP Plugin for Maven http://maven.apache.org/reference/plugins/jnlp/ /www/maven.apache.org/reference/plugins/jnlp/ diff --git a/jnlp/xdocs/changes.xml b/jnlp/xdocs/changes.xml new file mode 100644 index 00000000..99ea7672 --- /dev/null +++ b/jnlp/xdocs/changes.xml @@ -0,0 +1,16 @@ + + + + Changes + dIon Gillard + + + + + + Add the possibility to choose the main jar. + + + + + diff --git a/jnlp/xdocs/properties.xml b/jnlp/xdocs/properties.xml index 92f57a74..1a138089 100644 --- a/jnlp/xdocs/properties.xml +++ b/jnlp/xdocs/properties.xml @@ -361,6 +361,28 @@ ]]> - + +
+

+ When you define the main class of your application, you must define the jar + that contains the main class. This is achieved by specifying meta-information + in the pom, using the following syntax for jar files : +

+ + + jarid + jarversion + + true + true + + + ]]> + +

+ If no jars contains this tag (jnlp.main.jar), it's the project jar which will be used. +

+