From c178b0454f0aec78831194e8e0bd56cf35bed5d0 Mon Sep 17 00:00:00 2001 From: snicoll Date: Sat, 28 Jan 2006 15:44:09 +0000 Subject: [PATCH] MPRAR-2: Added maven.rar.final.name property git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@373167 13f79535-47bb-0310-9956-ffa450edef68 --- rar/plugin.jelly | 12 ++++++------ rar/plugin.properties | 5 ++++- rar/xdocs/changes.xml | 1 + rar/xdocs/properties.xml | 8 ++++++++ 4 files changed, 19 insertions(+), 7 deletions(-) diff --git a/rar/plugin.jelly b/rar/plugin.jelly index be57cfca..fc5dfba3 100644 --- a/rar/plugin.jelly +++ b/rar/plugin.jelly @@ -47,12 +47,12 @@ - Building rar ${maven.final.name} with ra.xml "${maven.rar.raxml}" + Building rar ${maven.rar.final.name} with ra.xml "${maven.rar.raxml}" - + @@ -134,7 +134,7 @@ description="Install the rar in the local repository"> @@ -148,7 +148,7 @@ description="Install the snapshot version of the rar in the local repository"> @@ -162,7 +162,7 @@ description="Deploys the rar to the remote repository"> @@ -176,7 +176,7 @@ description="Deploys the snapshot version of the rar to remote repository"> diff --git a/rar/plugin.properties b/rar/plugin.properties index 2d13e33d..f71e90f4 100644 --- a/rar/plugin.properties +++ b/rar/plugin.properties @@ -28,4 +28,7 @@ maven.rar.descriptordir=${maven.rar.src}/META-INF maven.rar.raxml=${maven.rar.descriptordir}/ra.xml maven.rar.manifest=${maven.rar.descriptordir}/MANIFEST.MF maven.rar.displayname=${pom.id} -maven.rar.resources=${maven.build.dir}/rar \ No newline at end of file +maven.rar.resources=${maven.build.dir}/rar + +# Name of generated RAR file +maven.rar.final.name=${maven.final.name}.rar \ No newline at end of file diff --git a/rar/xdocs/changes.xml b/rar/xdocs/changes.xml index fd1a7a63..bf601270 100644 --- a/rar/xdocs/changes.xml +++ b/rar/xdocs/changes.xml @@ -25,6 +25,7 @@ + Added maven.rar.final.name property. Update dependencies to match ones in maven 1.1 core and to unify them between plugins. The following dependencies are updated :
  • commons-jelly-tags-util v1.1 -> v1.1.1
  • diff --git a/rar/xdocs/properties.xml b/rar/xdocs/properties.xml index 4ea4eb6c..ac5471d4 100644 --- a/rar/xdocs/properties.xml +++ b/rar/xdocs/properties.xml @@ -11,6 +11,14 @@ Property Optional? Description + + + maven.rar.final.name + Yes + +

    Default value is + ${maven.final.name}.rar.

    + maven.rar.manifest