From f59f9e27c4c689d3919cb3e8d51fc51567c4c46b Mon Sep 17 00:00:00 2001 From: brett Date: Sun, 25 Apr 2004 02:16:27 +0000 Subject: [PATCH] PR: MPJAR-24, 27 o fix non-existence of ln -f for Solaris o fix Specification-Name problems git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115041 13f79535-47bb-0310-9956-ffa450edef68 --- jar/plugin.jelly | 10 ++++++++-- jar/xdocs/changes.xml | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/jar/plugin.jelly b/jar/plugin.jelly index 7b1d2f7a..693aafd3 100644 --- a/jar/plugin.jelly +++ b/jar/plugin.jelly @@ -46,6 +46,12 @@ + + + Warning: shortDescription is > 49 characters - trimming for specification title. + + + - + @@ -204,7 +210,7 @@ artifact="${relativePath}" type="jars" assureDirectoryCommand="mkdir -p" - siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy}; chgrp ${maven.remote.group} ${maven.jar.to.deploy}; ln -sf ${maven.jar.to.deploy} ${pom.artifactId}-SNAPSHOT.jar; echo ${snapshotVersion} > ${pom.artifactId}-snapshot-version" + siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy}; chgrp ${maven.remote.group} ${maven.jar.to.deploy}; rm -f ${pom.artifactId}-SNAPSHOT.jar; ln -s ${maven.jar.to.deploy} ${pom.artifactId}-SNAPSHOT.jar; echo ${snapshotVersion} > ${pom.artifactId}-snapshot-version" /> diff --git a/jar/xdocs/changes.xml b/jar/xdocs/changes.xml index 0045a2e7..ec9a30c3 100644 --- a/jar/xdocs/changes.xml +++ b/jar/xdocs/changes.xml @@ -26,6 +26,8 @@ + trim shortDescription and limit to 72 characters with warning when using specification-title to avoid broken manifests + change ln -sf command to rm -f symlink, ln -s combo because -f flag is not used on Solaris ln. move maven.remote.group to default.properties improve manifest generation revert maven.final.name to previuous value after executing jar:snapshot related goals.