From 646831a3645fe26a25f89b787731e03fcd6f2c05 Mon Sep 17 00:00:00 2001 From: evenisse Date: Sat, 28 Feb 2004 12:54:16 +0000 Subject: [PATCH] MPJNLP-7. Added extra property maven.jnlp.cert.version to support certificate renewals. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114762 13f79535-47bb-0310-9956-ffa450edef68 --- jnlp/plugin.jelly | 32 ++++++++++++++++++++++++++------ jnlp/xdocs/changes.xml | 14 ++++++++------ jnlp/xdocs/properties.xml | 16 ++++++++++++++++ 3 files changed, 50 insertions(+), 12 deletions(-) diff --git a/jnlp/plugin.jelly b/jnlp/plugin.jelly index 1839150b..6d1e9941 100644 --- a/jnlp/plugin.jelly +++ b/jnlp/plugin.jelly @@ -48,6 +48,10 @@ + + + Appending Certificate Version: ${certVer} + ${maven.jnlp.title} @@ -97,13 +101,17 @@ + + + + - + @@ -113,7 +121,7 @@ - + @@ -126,11 +134,15 @@ + + + + - + @@ -140,7 +152,7 @@ - + @@ -199,7 +211,11 @@ ${lib.file.name} - ${dep.version} + + + + + ${depVer} ${lib.file.name} @@ -209,7 +225,11 @@ ${final.jar.name} - ${pom.currentVersion} + + + + + ${depVer} ${final.jar.name} diff --git a/jnlp/xdocs/changes.xml b/jnlp/xdocs/changes.xml index 2961f4b1..54aabb05 100644 --- a/jnlp/xdocs/changes.xml +++ b/jnlp/xdocs/changes.xml @@ -8,14 +8,16 @@ - - MPJNLP-6. Updated jarversions support to take SNAPSHOT jars into account. + + Added extra property maven.jnlp.cert.version to support certificate renewals. - - MPJNLP-1. + + Updated jarversions support to take SNAPSHOT jars into account. - - MPJNLP-4. Add support for jar versions + + + + Add support for jar versions. Remove the need for ${pom} interpolation in properties. The diff --git a/jnlp/xdocs/properties.xml b/jnlp/xdocs/properties.xml index 97656f8e..b2146562 100644 --- a/jnlp/xdocs/properties.xml +++ b/jnlp/xdocs/properties.xml @@ -255,6 +255,22 @@ false + + maven.jnlp.cert.version + Yes + + A version string to be appended to each dependency version when generating + version.xml. (This is only useful if maven.jnlp.usejarversions is set to true). + This comes in handy, when your code signing certificate expires and is renewed. + Java Web Start requires that ALL jars be signed with the same certificate. When + renewing a certificate you must change all of the version numbers of all jars, so + that the JWS client will re-download the jars that haven't changed, but have only + been re-signed by the new key. With this property, when you get a renewed key, + all you have to do, is update the maven.jnlp.cert.version string to a new value, + and the new version.xml will have all new version strings for ALL jars. + + false +