diff --git a/plugin/plugin.jelly b/plugin/plugin.jelly
index ab2f6e55..77239bda 100644
--- a/plugin/plugin.jelly
+++ b/plugin/plugin.jelly
@@ -369,6 +369,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${installedRelease}
+ ${minReleaseToHave}
+
+ ${installedRelease}
+ ${minReleaseToHave}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - BE CAREFUL
+ =======================================================================================
+ Must have ${pluginToTest} plugin v${minReleaseToHave} installed to use this version of the plugin.
+ Try: maven plugin:download -DgroupId=maven -DartifactId=${pluginToTest} -Dversion=${minReleaseToHave}
+ =======================================================================================
+
+
+
+
diff --git a/plugin/xdocs/changes.xml b/plugin/xdocs/changes.xml
index ae3e6e42..9e12e8e5 100644
--- a/plugin/xdocs/changes.xml
+++ b/plugin/xdocs/changes.xml
@@ -23,6 +23,9 @@
Emmanuel Venisse
+
+ new plugin:available tag to check if a minimal release of a plugin is present.
+
Added new
assert:assertFileContainstag that verifies if a file contains a specific string.
diff --git a/plugin/xdocs/tags.xml b/plugin/xdocs/tags.xml
index 33bc4c4c..9275eea0 100644
--- a/plugin/xdocs/tags.xml
+++ b/plugin/xdocs/tags.xml
@@ -31,6 +31,7 @@
- uninstall
- clearCache
+ - available
assert
@@ -70,6 +71,27 @@
There are no attributes for this tag
+
+ Fails the build if the given plugin does not exist or hasn't the minimal release number. Otherwise no effect.
+
+ | Attribute | Optional? | Description |
+
+ | groupId |
+ No |
+ The plugin's groupId |
+
+
+ | artifactId |
+ No |
+ The plugin's artifactId |
+
+
+ | minRelease |
+ No |
+ The minimum plugin's release |
+
+
+