maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders Hammar (JIRA)" <j...@codehaus.org>
Subject [jira] (MINVOKER-119) Allow access to properties in pre- and postBuild scripts
Date Thu, 21 Feb 2013 11:47:13 GMT

     [ https://jira.codehaus.org/browse/MINVOKER-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anders Hammar closed MINVOKER-119.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.9

I decided on a scriptVariables param.

Fixed in [r1448603|http://svn.apache.org/r1448603]
                
> 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
>            Assignee: Anders Hammar
>             Fix For: 1.9
>
>
> 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

        

Mime
View raw message