From c587f48e0934a1aa010c0b511c1926401a4b822d Mon Sep 17 00:00:00 2001
From: aheritier
Date: Mon, 19 Sep 2005 16:37:34 +0000
Subject: [PATCH] improve naming consistency : rename plugin:available by
assert:assertPluginAvailable
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@290197 13f79535-47bb-0310-9956-ffa450edef68
---
checkstyle/plugin.jelly | 8 ++--
dist/plugin.jelly | 6 ++-
faq/plugin.jelly | 8 ++--
jar/plugin.jelly | 6 ++-
jdiff/plugin.jelly | 6 ++-
plugin/plugin.jelly | 85 ++++++++++++++++++++--------------------
plugin/xdocs/changes.xml | 2 +-
plugin/xdocs/tags.xml | 54 ++++++++++++-------------
8 files changed, 91 insertions(+), 84 deletions(-)
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 @@
- uninstall
- clearCache
- - 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.
-
- | Attribute | Optional? | Description |
-
- | groupId |
- No |
- The plugin's groupId |
-
-
- | artifactId |
- No |
- The plugin's artifactId |
-
-
- | minRelease |
- No |
- The minimum plugin's release |
-
-
- | neededBy |
- No |
- The 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.
+
+ | Attribute | Optional? | Description |
+
+ | groupId |
+ No |
+ The plugin's groupId |
+
+
+ | artifactId |
+ No |
+ The plugin's artifactId |
+
+
+ | minRelease |
+ No |
+ The minimum plugin's release |
+
+
+ | neededBy |
+ No |
+ The name of the plugin or project using this tag. It is used when the tag displays the error for the user. |
+
+
+