[
https://jira.codehaus.org/browse/MINVOKER-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=320081#comment-320081
]
Anders Hammar commented on MINVOKER-119:
----------------------------------------
I think that the parameter should be called scriptContextProperties, or
possibly just scriptProperties. They would then be accessible through the
script's context (key-value) storage.
> Allow access to properties in pre- and postBuild scripts
> --------------------------------------------------------
>
> Key: MINVOKER-119
> URL: https://jira.codehaus.org/browse/MINVOKER-119
> Project: Maven 2.x Invoker Plugin
> Issue Type: Improvement
> Affects Versions: 1.5
> Reporter: Daniel Strassenburg
>
> In my verify.groovy script I'd like to access properties declared in the
> invoker's config:
> {code:xml}
> <configuration>
> <properties>
> <prop1>val1</prop1>
> </properties>
> </configuration>
> {code}
> In my verify.groovy script I'd like to use these properties, too, e.g. by
> using System.getProperty("prop1") but that returns null.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira