maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <>
Subject [jira] [Closed] (MNG-6542) .mvn/maven.config is ignored when running "mvn dependency:tree"
Date Sat, 16 Feb 2019 20:24:00 GMT


Michael Osipov closed MNG-6542.
    Resolution: Incomplete

No reaction to the request for a MWE.

> .mvn/maven.config is ignored when running "mvn dependency:tree"
> ---------------------------------------------------------------
>                 Key: MNG-6542
>                 URL:
>             Project: Maven
>          Issue Type: Bug
>            Reporter: wei
>            Priority: Major
> Our project has dependencies defined in a profile which is activated by a property, e.g.
"-Dfoo".  While adding "-Dfoo" to .mvn/maven.config works for "mvn clean install". However,
it is ignored when running "mvn dependency:tree".  We had to do "mvn dependency:tree -Dfoo"
to get the right dependencies. 

This message was sent by Atlassian JIRA

View raw message