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

Guillaume Nodet edited comment on MNG-7078 at 1/20/21, 9:51 AM:
----------------------------------------------------------------

[~michael-o]not related to MNG-6772

I had this profile definition in my {{~/.m2/settings.xml}}
{code:xml}
    <profile>
         <id>disable-java8-doclint</id>
         <activation>
             <jdk>[1.8,)</jdk>
         </activation>
         <properties>
             <additionalparam>-Xdoclint:none</additionalparam>
         </properties>
     </profile>
{code}
and this caused the 
{{[MavenITmng3746POMPropertyOverrideTest.testitMNG3746_UsingCLIProperty|https://github.com/apache/maven-integration-testing/blob/840bdd6aef861119785ffb93386ec4af8b57ffcb/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng3746POMPropertyOverrideTest.java#L66]}}
 test to fail.


was (Author: gnt):
[~michael-o]not related to MNG-6772

I had this profile definition in my {{~/.m2/settings.xml}}
{code:xml}
    <profile>
         <id>disable-java8-doclint</id>
         <activation>
             <jdk>[1.8,)</jdk>
         </activation>
         <properties>
             <additionalparam>-Xdoclint:none</additionalparam>
         </properties>
     </profile>
{code}

and this caused the 
{{MavenITmng3746POMPropertyOverrideTest.testitMNG3746_UsingCLIProperty}} test 
to fail.

> 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
>            Assignee: Michael Osipov
>            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