From 4a33c313ac8df70c709a53730c5f719ff6a3c587 Mon Sep 17 00:00:00 2001 From: brett Date: Fri, 25 Jun 2004 13:53:28 +0000 Subject: [PATCH] use artifact for deployment git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115536 13f79535-47bb-0310-9956-ffa450edef68 --- jar/plugin.jelly | 104 +++++++++++++++------------------------ jar/xdocs/changes.xml | 1 + plugin/plugin.jelly | 53 +++++++++++++++++--- plugin/project.xml | 2 +- plugin/xdocs/changes.xml | 3 ++ 5 files changed, 92 insertions(+), 71 deletions(-) diff --git a/jar/plugin.jelly b/jar/plugin.jelly index 00034b38..e2ab03f6 100644 --- a/jar/plugin.jelly +++ b/jar/plugin.jelly @@ -23,10 +23,29 @@ xmlns:ant="jelly:ant" xmlns:license="license" xmlns:maven="jelly:maven" + xmlns:artifact="artifact" xmlns:deploy="deploy" xmlns:util="jelly:util" xmlns:doc="doc"> + + + + + Must have artifact plugin v1.3 installed to use this version of the jar plugin. + Try: maven plugin:download -DgroupId=maven -DartifactId=maven-artifact-plugin -Dversion=1.3 + + + + + + + Must remove the deploy plugin to use this version of the jar plugin. + Please delete ${deployPlugin.artifactId}-${deployPlugin.currentVersion}.jar from + ${maven.plugin.dir} and ${maven.plugin.unpacked.dir} (if it exists) + + + @@ -176,6 +195,7 @@ + DEPRECATED: jar:snapshot is deprecated @@ -193,29 +213,14 @@ - - - - - - ${maven.build.dir}/${maven.jar.to.deploy} - - - - - ${jarToDeploy.substring(base.length())} - - - - @@ -224,27 +229,14 @@ - - - - - - ${maven.build.dir}/${maven.jar.to.deploy} - - - - - ${jarToDeploy.substring(base.length())} - - - @@ -254,41 +246,25 @@ - - id = '${pom.artifactId}' - groupId = '${pom.groupId}' - artifactDirectory = '${pom.artifactDirectory}' - - - - - - + - - - - - - diff --git a/jar/xdocs/changes.xml b/jar/xdocs/changes.xml index 006e7d87..7d8c489d 100644 --- a/jar/xdocs/changes.xml +++ b/jar/xdocs/changes.xml @@ -26,6 +26,7 @@ + Use the artifact plugin for installation Replace Apache Jakarta Maven by Apache Maven in Manifest diff --git a/plugin/plugin.jelly b/plugin/plugin.jelly index 8025b974..d69ca4e3 100644 --- a/plugin/plugin.jelly +++ b/plugin/plugin.jelly @@ -25,9 +25,28 @@ xmlns:maven="jelly:maven" xmlns:u="jelly:util" xmlns:define="jelly:define" + xmlns:artifact="artifact" xmlns:deploy="deploy" xmlns:x="jelly:xml"> + + + + + Must have artifact plugin v1.3 installed to use this version of the plugin plugin. + Try: maven plugin:download -DgroupId=maven -DartifactId=maven-artifact-plugin -Dversion=1.3 + + + + + + + Must remove the deploy plugin to use this version of the plugin plugin. + Please delete ${deployPlugin.artifactId}-${deployPlugin.currentVersion}.jar from + ${maven.plugin.dir} and ${maven.plugin.unpacked.dir} (if it exists) + + + @@ -261,13 +280,35 @@ + + + + + + + + - - + + + + diff --git a/plugin/project.xml b/plugin/project.xml index 2d712369..4aec2b82 100644 --- a/plugin/project.xml +++ b/plugin/project.xml @@ -23,7 +23,7 @@ 3 maven-plugin-plugin Maven Plugin Plugin - 1.4 + 1.5-SNAPSHOT Maven Plugin management plugin. Requires Maven 1.0 RC3. Maven Plugin plugin http://maven.apache.org/reference/plugins/plugin/ diff --git a/plugin/xdocs/changes.xml b/plugin/xdocs/changes.xml index d2abff8c..421b3c2f 100644 --- a/plugin/xdocs/changes.xml +++ b/plugin/xdocs/changes.xml @@ -24,6 +24,9 @@ Emmanuel Venisse + + Use the artifact plugin instead of the deploy plugin + Add plugin:uninstall-now that removes the plugin from the currently running instance of Maven. Add a plugin:install-now goal that installs the plugin into the currently running instance of maven so that it can be used by subsequent goals.