This is an automated email from the ASF dual-hosted git repository. hboutemy pushed a commit to annotated tag maven-invoker-plugin-1.1 in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git
commit ce1582671332113d9c7da9d90c6ace79afa55a87 Author: John Dennis Casey <[email protected]> AuthorDate: Sat Dec 15 22:53:33 2007 +0000 [MINVOKER-20] Adding properties parameter to replace testProperties, and use the more standard <key>value</key> syntax for properties. git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-invoker-plugin@604524 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/maven/plugin/invoker/InvokerMojo.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java b/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java index f5e5fc5..7646b9a 100644 --- a/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java +++ b/src/main/java/org/apache/maven/plugin/invoker/InvokerMojo.java @@ -183,9 +183,18 @@ public class InvokerMojo * Common set of test properties to pass in on each IT's command line, via -D parameters. * * @parameter + * @deprecated Use properties parameter instead. */ private Properties testProperties; + /** + * Common set of properties to pass in on each project's command line, via -D parameters. + * + * @parameter + * @since 1.1 + */ + private Map properties; + /** * Whether to show errors in the build output. * @@ -503,6 +512,11 @@ public class InvokerMojo collectedTestProperties.putAll( testProperties ); } + if ( properties != null ) + { + collectedTestProperties.putAll( properties ); + } + final Properties loadedProperties = loadTestProperties( basedir ); if ( loadedProperties != null ) -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
