Daniel Spilker opened MNG-5889 and commented
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.
Affects: 3.3.3, 3.3.9
Attachments:
Issue Links:
-
MNG-6385 Windows mvn.cmd fail with incorrect command syntax.
("causes")
-
MNG-6256 Maven script can break if "-f" path contains special characters
-
MNG-5767 project-specific default jvm options and command line parameters
-
MNG-5771 improved user-configurable core extensions mechanism
-
MNG-5858 mvn script fails to locate .mvn in current directory
-
MNG-6198 mvn script fails to locate .mvn directory when pom location specified with -f
-
MNG-6223 mvn -f outputs invalid error when specifying POM directory
Remote Links:
Backported to: 3.5.0-alpha-1
3 votes, 14 watchers
Daniel Spilker opened MNG-5889 and commented
The
.mvndirectory is not picked up when using the--fileswitch to build a project from outside of the multi-module root.Example:
/foo/bar.mvnis located at/foo/bar/.mvn/foomvn --file bar/module/pom.xmlI would expect the
.mvndirectory detection to start at the directory of the POM selected by--fileand then go through the parent directories.Affects: 3.3.3, 3.3.9
Attachments:
Issue Links:
MNG-6385 Windows mvn.cmd fail with incorrect command syntax.
("causes")
MNG-6256 Maven script can break if "-f" path contains special characters
MNG-5767 project-specific default jvm options and command line parameters
MNG-5771 improved user-configurable core extensions mechanism
MNG-5858 mvn script fails to locate .mvn in current directory
MNG-6198 mvn script fails to locate .mvn directory when pom location specified with -f
MNG-6223 mvn -f outputs invalid error when specifying POM directory
Remote Links:
Backported to: 3.5.0-alpha-1
3 votes, 14 watchers