diff --git a/plugin/plugin.jelly b/plugin/plugin.jelly index b89d9a21..77e22f29 100644 --- a/plugin/plugin.jelly +++ b/plugin/plugin.jelly @@ -375,63 +375,99 @@ + - + + + + + + + + + + - - ${installedRelease} - ${minReleaseToHave} - - ${installedRelease} - ${minReleaseToHave} - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + ${installedRelease} + ${minReleaseToHave} + + + + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - ======================================================================================= - Must have ${pluginToTest} plugin v${minReleaseToHave} installed to use this version of the plugin. - Try: maven plugin:download -DgroupId=maven -DartifactId=${pluginToTest} -Dversion=${minReleaseToHave} - ======================================================================================= +- +=============================================================================== +Must have the plugin ${pluginToTest} v${minReleaseToHave} installed to use this version of ${neededBy}. +${errorSentence} +Try: maven plugin:download -DgroupId=maven -DartifactId=${pluginToTest} -Dversion=${minReleaseToHave} +=============================================================================== diff --git a/plugin/xdocs/changes.xml b/plugin/xdocs/changes.xml index 3d588fc1..9e12e8e5 100644 --- a/plugin/xdocs/changes.xml +++ b/plugin/xdocs/changes.xml @@ -24,7 +24,7 @@ - new plugin:available tag to check if a minimal release of a plugin is present. (for maven 1.1 only) + new plugin:available tag to check if a minimal release of a plugin is present. Added new diff --git a/plugin/xdocs/tags.xml b/plugin/xdocs/tags.xml index d68700d0..c1322e84 100644 --- a/plugin/xdocs/tags.xml +++ b/plugin/xdocs/tags.xml @@ -73,7 +73,6 @@

Fails the build if the given plugin does not exist or hasn't the minimal release number. Otherwise no effect.

-

Works only with maven 1.1.

@@ -91,6 +90,11 @@ + + + + +
AttributeOptional?Description
No The minimum plugin's release
neededByNoThe name of the plugin or project using this tag. It is used when the tag displays the error for the user.