You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@codehaus.org> on 2011/12/23 23:02:02 UTC

[jira] (MINVOKER-122) Import information into groovy scripts of the running Maven environment

Karl Heinz Marbaise created MINVOKER-122:
--------------------------------------------

             Summary: Import information into groovy scripts of the running Maven environment 
                 Key: MINVOKER-122
                 URL: https://jira.codehaus.org/browse/MINVOKER-122
             Project: Maven 2.x Invoker Plugin
          Issue Type: New Feature
    Affects Versions: 1.5
            Reporter: Karl Heinz Marbaise
            Priority: Minor


During the execution of a postbuild.groovy script i'm checking the contents of the build.log output (output of plugins etc.). The problem is that based on the differences between MVN 2.2.1 and MVN 3.0.? the output looks different. But inside a verify.groovy i don't know under which version of Maven the integration-tests has been run...so it's not simple to make a difference here...It might be a good idea to get this information inside the groovy script.

--
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

        

[jira] (MINVOKER-122) Import information into groovy scripts of the running Maven environment

Posted by "Karl Heinz Marbaise (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MINVOKER-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=286833#comment-286833 ] 

Karl Heinz Marbaise commented on MINVOKER-122:
----------------------------------------------

The selector-conditions allow me to run an integration test or not. This will result in running the integration tests for different Maven versions with different Maven versions multiple times. If i have the information inside the groovy script i can make the differences in the groovy script.
                
> Import information into groovy scripts of the running Maven environment 
> ------------------------------------------------------------------------
>
>                 Key: MINVOKER-122
>                 URL: https://jira.codehaus.org/browse/MINVOKER-122
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.5
>            Reporter: Karl Heinz Marbaise
>            Priority: Minor
>
> During the execution of a postbuild.groovy script i'm checking the contents of the build.log output (output of plugins etc.). The problem is that based on the differences between MVN 2.2.1 and MVN 3.0.? the output looks different. But inside a verify.groovy i don't know under which version of Maven the integration-tests has been run...so it's not simple to make a difference here...It might be a good idea to get this information inside the groovy script.

--
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

        

[jira] (MINVOKER-122) Import information into groovy scripts of the running Maven environment

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MINVOKER-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=286757#comment-286757 ] 

Robert Scholte commented on MINVOKER-122:
-----------------------------------------

What you can do is specifying for which versions the test is by using [selector-conditions|http://maven.apache.org/plugins/maven-invoker-plugin/examples/selector-conditions.html]. But exposing this kind of information sounds reasonable to me.
                
> Import information into groovy scripts of the running Maven environment 
> ------------------------------------------------------------------------
>
>                 Key: MINVOKER-122
>                 URL: https://jira.codehaus.org/browse/MINVOKER-122
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.5
>            Reporter: Karl Heinz Marbaise
>            Priority: Minor
>
> During the execution of a postbuild.groovy script i'm checking the contents of the build.log output (output of plugins etc.). The problem is that based on the differences between MVN 2.2.1 and MVN 3.0.? the output looks different. But inside a verify.groovy i don't know under which version of Maven the integration-tests has been run...so it's not simple to make a difference here...It might be a good idea to get this information inside the groovy script.

--
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