[
https://issues.apache.org/jira/browse/MNG-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15559642#comment-15559642
]
ASF GitHub Bot commented on MNG-5889:
-------------------------------------
Github user Tibor17 commented on the issue:
https://github.com/apache/maven/pull/94
@rpatrick00
It looks like "--file" is not recognize but "-file" is recognized.
The second issue where I have `/a/b` folders and `b` contains single
`pom.xml` and `.mvn` - no multimodule.
`cd /a` which does not have `.mvn` and start `mvn -file b/pom.xml`. There
my `vm.config` is not applied, why? Tested on Win. I will try in Fedora as well.
> .mvn directory should be picked when using --file
> -------------------------------------------------
>
> Key: MNG-5889
> URL: https://issues.apache.org/jira/browse/MNG-5889
> Project: Maven
> Issue Type: Improvement
> Components: Bootstrap & Build
> Affects Versions: 3.3.3
> Reporter: Daniel Spilker
> Assignee: Tibor Digana
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)