From d030546ed1d1300fb768fbebc036fa29f6646ace Mon Sep 17 00:00:00 2001 From: aheritier Date: Sat, 22 Oct 2005 22:19:01 +0000 Subject: [PATCH] Check that maven-artifact-plugin >= 1.7 is installed only when needed (in the plugin:plugin goal) and not when the plugin is loaded. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@327708 13f79535-47bb-0310-9956-ffa450edef68 --- plugin/plugin.jelly | 5 +---- plugin/xdocs/changes.xml | 2 +- plugin/xdocs/goals.xml | 4 ++-- plugin/xdocs/index.xml | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/plugin/plugin.jelly b/plugin/plugin.jelly index c1f2e103..995cd87f 100644 --- a/plugin/plugin.jelly +++ b/plugin/plugin.jelly @@ -214,16 +214,13 @@ Try: maven plugin:download -DgroupId=maven -DartifactId=${pluginToTest} -Dversio - - - - + Allow plugin-test directory to be changed. NTLM Proxy Problem. plugin:download didn't redownload SNAPSHOT plugins. - Resolve project.xml inheritance when installing plugin. + Resolve project.xml inheritance when installing plugin. plugin:plugin goal now requires at least maven 1.1 and maven-artifact-plugin 1.7. new plugin:validate-xml tag to validate xml documents against a schema. new assert:assertPluginAvailable tag to check if a minimal release of a plugin is present. diff --git a/plugin/xdocs/goals.xml b/plugin/xdocs/goals.xml index f592b5a6..7062cda1 100644 --- a/plugin/xdocs/goals.xml +++ b/plugin/xdocs/goals.xml @@ -26,8 +26,8 @@ - plugin - Build a plugin jar + plugin:plugin + Build a plugin jar. Requires at least maven 1.1 and maven-artifact-plugin 1.7. plugin:download diff --git a/plugin/xdocs/index.xml b/plugin/xdocs/index.xml index 9dc50343..0117a567 100644 --- a/plugin/xdocs/index.xml +++ b/plugin/xdocs/index.xml @@ -46,7 +46,7 @@

-

Be careful, this plugin need maven 1.1 and at least the release 1.7 of the artifact plugin.

+

Be careful, to create a plugin (using the goal plugin:plugin) this plugin needs maven 1.1 and at least the release 1.7 of the artifact plugin.