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

.mvn directory should be picked when using --file

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.3, 3.3.9
    • Fix Version/s: 3.5.0-alpha-1, 3.5.0
    • Component/s: Bootstrap & Build
    • Labels:
      None

      Description

      The .mvn directory is not picked up when using the --file switch to build a project from outside of the multi-module root.

      Example:

      • the module root is /foo/bar
      • .mvn is located at /foo/bar/.mvn
      • current directory is /foo
      • Maven is invoked with mvn --file bar/module/pom.xml

      I would expect the .mvn directory detection to start at the directory of the POM selected by --file and then go through the parent directories.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tibor17 Tibor Digana
                Reporter:
                daniel.spilker@hamburg.de Daniel Spilker
              • Votes:
                3 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: