[ 
https://jira.codehaus.org/browse/MINVOKER-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=334879#comment-334879
 ] 

Anders Hammar commented on MINVOKER-122:
----------------------------------------

There is no silver bullet, but verifying through the build.log file should be 
avoided IMHO. But sure, sometimes you need to do that if you're cehcking 
warning infos etc. If you're in control of the environment it's not a problem, 
but for open source projects it could be a problem if some dev tweak his/her 
Maven installation.

Regardsless, I'll add the "mavenVersion" variable and you can use it as you 
wish.
                
> Import information into groovy scripts of the running Maven environment 
> ------------------------------------------------------------------------
>
>                 Key: MINVOKER-122
>                 URL: https://jira.codehaus.org/browse/MINVOKER-122
>             Project: Maven Invoker Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.5
>            Reporter: Karl Heinz Marbaise
>            Assignee: Anders Hammar
>            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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to