Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6542

.mvn/maven.config is ignored when running "mvn dependency:tree"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • None
    • None

    Description

      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. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            leonbnu wei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: