You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2021/02/08 14:57:00 UTC

[jira] [Commented] (MNG-7078) The integration tests use the default maven settings

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

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

[~michael-o] it's difficult to test without setting up a mock environment, so I'm not sure I'm buying your argument.  The point is to verify that profile activation works and this is determined by the system properties, so there's no way to test without actually setting those properties.

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