Github user rpatrick00 commented on the issue:
https://github.com/apache/maven/pull/94
If you look at the shell script, it used to compute the "basedir" variable
starting at the current working directory and then search upwards for the .mvn
directory. Then, it set the MAVEN_PROJECTBASEDIR environment variable and
added the contents of jvm.config. Finally, it passed it into the java command
line using the -Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}
argument.
All my fix does it change the starting point to search for the .mvn
directory if the -f/--file argument is specified. The rest of the logic is
exactly the same...
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]