diff --git a/plugin/plugin.jelly b/plugin/plugin.jelly index 86900a6a..28a8e985 100644 --- a/plugin/plugin.jelly +++ b/plugin/plugin.jelly @@ -477,9 +477,9 @@ Try: maven plugin:download -DgroupId=maven -DartifactId=${pluginToTest} -Dversio - + diff --git a/plugin/plugin.properties b/plugin/plugin.properties new file mode 100644 index 00000000..8958ef6b --- /dev/null +++ b/plugin/plugin.properties @@ -0,0 +1,23 @@ +# ------------------------------------------------------------------- +# Copyright 2001-2005 The Apache Software Foundation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ------------------------------------------------------------------- + +# ------------------------------------------------------------------- +# P L U G I N P R O P E R T I E S +# ------------------------------------------------------------------- +# Plugin plugin. +# ------------------------------------------------------------------- + +maven.plugin.test.dir=src/plugin-test diff --git a/plugin/xdocs/changes.xml b/plugin/xdocs/changes.xml index 71679eb0..2aa99b3a 100644 --- a/plugin/xdocs/changes.xml +++ b/plugin/xdocs/changes.xml @@ -24,6 +24,7 @@ + Allow plugin-test directory to be changed. NTLM Proxy Problem. plugin:download didn't redownload SNAPSHOT plugins. new plugin:validate-xml tag to validate xml documents against a schema. diff --git a/plugin/xdocs/goals.xml b/plugin/xdocs/goals.xml index f7e23043..f592b5a6 100644 --- a/plugin/xdocs/goals.xml +++ b/plugin/xdocs/goals.xml @@ -90,7 +90,13 @@ plugin:test - Run a plugin's test project + + Run a plugin's test project by executing maven with a goal called + testPlugin in ${maven.plugin.test.dir}. + This directory should contain a project.xml project + descriptor and a custom maven.xml file that + defines the goal. + plugin:repository-install diff --git a/plugin/xdocs/properties.xml b/plugin/xdocs/properties.xml index c9368c40..2652fa8c 100644 --- a/plugin/xdocs/properties.xml +++ b/plugin/xdocs/properties.xml @@ -31,6 +31,16 @@ Optional? Description + + maven.plugin.test.dir + Yes + + The directory that contains the project descriptor for + running the plugin tests. This should be relative to + ${basedir}. + Default is src/plugin-test. + + maven.docs.src Yes