[
https://issues.apache.org/jira/browse/MNG-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15493547#comment-15493547
]
ASF GitHub Bot commented on MNG-5889:
-------------------------------------
GitHub user rpatrick00 opened a pull request:
https://github.com/apache/maven/pull/94
MNG-5889 - adding logic that looks for the file argument and starts t…
…he search for the .mvn directory at the location of the specified POM when
present
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rpatrick00/maven master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/maven/pull/94.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #94
----
commit 15de446618b9cb12158f098ab4889fe61c429bc7
Author: robert.patrick <[email protected]>
Date: 2016-09-15T14:53:06Z
MNG-5889 - adding logic that looks for the file argument and starts the
search for the .mvn directory at the location of the specified POM when present
----
> .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
>
> 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)