From e50953ba61a4cac82e3d41a004f03dc2bd11edee Mon Sep 17 00:00:00 2001 From: epugh Date: Wed, 10 Dec 2003 21:55:24 +0000 Subject: [PATCH] Fix plugin:download to not delete the plugin just downloaded! git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114473 13f79535-47bb-0310-9956-ffa450edef68 --- plugin/plugin.jelly | 29 ++++++++++------------------- plugin/project.xml | 9 +++++++++ plugin/xdocs/changes.xml | 5 +++++ plugin/xdocs/goals.xml | 4 ++++ 4 files changed, 28 insertions(+), 19 deletions(-) diff --git a/plugin/plugin.jelly b/plugin/plugin.jelly index 280661ab..0bf886af 100644 --- a/plugin/plugin.jelly +++ b/plugin/plugin.jelly @@ -187,7 +187,9 @@ repo is '${repo}' - + + trying to download ${remoteFile} @@ -195,7 +197,7 @@ - + @@ -206,30 +208,19 @@ - + - + - Plugin downloaded, removing other versions + Plugin downloaded, removing other versions\ - - - - - - - - - - - - - - + + diff --git a/plugin/project.xml b/plugin/project.xml index d868d207..2203c6ac 100644 --- a/plugin/project.xml +++ b/plugin/project.xml @@ -33,6 +33,15 @@ Developer + + Eric Pugh + epugh + epugh at apache dot org + OpenSource Connections + + Developer + + diff --git a/plugin/xdocs/changes.xml b/plugin/xdocs/changes.xml index b9118348..cad4a562 100644 --- a/plugin/xdocs/changes.xml +++ b/plugin/xdocs/changes.xml @@ -7,6 +7,11 @@ + + Fixed the plugin:download goal to work. Previously it would delete + the plugin you just downloaded. Also now leverages the plugin:uninstall + goal. + Added assert:assertEquals tag to verify if two values are equal while testing a plugin. diff --git a/plugin/xdocs/goals.xml b/plugin/xdocs/goals.xml index eaf8b237..ea910ca4 100644 --- a/plugin/xdocs/goals.xml +++ b/plugin/xdocs/goals.xml @@ -42,6 +42,10 @@ plugin:install Install the plugin in Maven's plugins dir + + plugin:uninstall + Uninstall all versions of the plugin in Maven's plugins dir + plugin:test Run a plugin's test project