[ 
https://issues.apache.org/jira/browse/MNG-7078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17281143#comment-17281143
 ] 

Guillaume Nodet commented on MNG-7078:
--------------------------------------

[~michael-o] I looked again, and I do agree that the test is somewhat broken as 
using {{cli}} as a version is wrong and can cause the NumberFormatException in 
the test.  Whether MNG-3746 is broken or not, I tend to agree too, as it is 
easier to just rename the property, but there might some valid use case, not 
sure.

However, the question raised by this issue was more whether the tests should be 
isolated or not.  If the current state (i.e. not isolated from the user's 
settings.xml) is fine, I'll just close the issue.  If not, I'm willing to 
provide a patch.

> The integration tests use the default maven settings
> ----------------------------------------------------
>
>                 Key: MNG-7078
>                 URL: https://issues.apache.org/jira/browse/MNG-7078
>             Project: Maven
>          Issue Type: Improvement
>          Components: Integration Tests
>            Reporter: Guillaume Nodet
>            Priority: Major
>
> I have a profile that caused one integration test to fail, but it took me 
> some time to realise the problem came from my {{~/.m2/settings.xml}} file.  
> It would be better to have the tests use an empty settings file.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to