You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2019/02/16 20:24:00 UTC
[jira] [Closed] (MNG-6542) .mvn/maven.config is ignored when
running "mvn dependency:tree"
[ https://issues.apache.org/jira/browse/MNG-6542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://issues.apache.org/jira/browse/MNG-6542
> 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
(v7.6.3#76005)