diff --git a/checkstyle/plugin.jelly b/checkstyle/plugin.jelly index c96dd85d..98b67112 100644 --- a/checkstyle/plugin.jelly +++ b/checkstyle/plugin.jelly @@ -28,15 +28,15 @@ xmlns:ant="jelly:ant" xmlns:util="jelly:util" xmlns:doc="doc" - xmlns:plugin="plugin" + xmlns:assert="assert" xmlns:maven="jelly:maven" xmlns:define="jelly:define" xmlns:checkstyle="checkstyle"> - - - + + + + + diff --git a/faq/plugin.jelly b/faq/plugin.jelly index 3dd2170b..fe152bf7 100644 --- a/faq/plugin.jelly +++ b/faq/plugin.jelly @@ -26,13 +26,13 @@ xmlns:ant="jelly:ant" xmlns:define="jelly:define" xmlns:doc="doc" - xmlns:plugin="plugin" + xmlns:assert="assert" xmlns:faq="faq"> - - - + + + diff --git a/jar/plugin.jelly b/jar/plugin.jelly index 4f621367..11e33fc3 100644 --- a/jar/plugin.jelly +++ b/jar/plugin.jelly @@ -24,12 +24,14 @@ xmlns:license="license" xmlns:maven="jelly:maven" xmlns:artifact="artifact" - xmlns:plugin="plugin" + xmlns:assert="assert" xmlns:util="jelly:util" xmlns:doc="doc"> - + + + diff --git a/jdiff/plugin.jelly b/jdiff/plugin.jelly index d54d6d84..65d60c99 100644 --- a/jdiff/plugin.jelly +++ b/jdiff/plugin.jelly @@ -23,11 +23,13 @@ xmlns:maven="jelly:maven" xmlns:doc="doc" xmlns:scm="scm" - xmlns:plugin="plugin" + xmlns:assert="assert" xmlns:ant="jelly:ant"> - + + + diff --git a/plugin/plugin.jelly b/plugin/plugin.jelly index 1f8dd2a0..7c030531 100644 --- a/plugin/plugin.jelly +++ b/plugin/plugin.jelly @@ -55,9 +55,47 @@ - + - + + + + + + + + + ${file} does not exist.${msg} + + + + + + + + + + ${file} does not contain string [${match}].${msg} + + + + + + + + ${file} found and not expected.${msg} + + + + + + + + Expected [${expected}] but got [${value}].${msg} + + + + @@ -157,49 +195,12 @@ Try: maven plugin:download -DgroupId=maven -DartifactId=${pluginToTest} -Dversio =============================================================================== - - - - - - - - - - - ${file} does not exist.${msg} - - - - - - - - - - ${file} does not contain string [${match}].${msg} - - - - - - - - ${file} found and not expected.${msg} - - - - - - - - Expected [${expected}] but got [${value}].${msg} - - + + - + diff --git a/plugin/xdocs/changes.xml b/plugin/xdocs/changes.xml index 9e12e8e5..82d85766 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. + new assert:assertPluginAvailable 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 c1322e84..6049e8c2 100644 --- a/plugin/xdocs/tags.xml +++ b/plugin/xdocs/tags.xml @@ -31,7 +31,6 @@
  1. uninstall
  2. clearCache
  3. -
  4. available
  • assert @@ -40,6 +39,7 @@
  • assertFileContains
  • assertFileNotFound
  • assertEquals
  • +
  • available
  • @@ -71,32 +71,6 @@

    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.

    - - - - - - - - - - - - - - - - - - - - - - -
    AttributeOptional?Description
    groupIdNoThe plugin's groupId
    artifactIdNoThe plugin's artifactId
    minReleaseNoThe 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.
    -

    @@ -177,6 +151,32 @@ + +

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

    + + + + + + + + + + + + + + + + + + + + + + +
    AttributeOptional?Description
    groupIdNoThe plugin's groupId
    artifactIdNoThe plugin's artifactId
    minReleaseNoThe 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.
    +