[
https://issues.apache.org/jira/browse/MNG-6542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16728675#comment-16728675
]
Karl Heinz Marbaise commented on MNG-6542:
------------------------------------------
First can you please add your pom file here furthermore it is bad practice to
define dependencies via a profile...
> .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)