maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (MNG-5889) .mvn directory should be picked when using --file
Date Tue, 15 Nov 2016 07:21:58 GMT


ASF GitHub Bot commented on MNG-5889:

GitHub user neykov opened a pull request:

    Set default JVM memory settings for the build

    * Will be picked up when building a sub-module
    * Doesn't work with `--file` option ([MNG-5889](

You can merge this pull request into a Git repository by running:

    $ git pull maven-opts

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #436
commit 3fae36300e4b606ee1c9a60982c1d1d4687cce48
Author: Svetoslav Neykov <>
Date:   2016-11-15T07:17:07Z

    Set default JVM memory settings for the build


> .mvn directory should be picked when using --file
> -------------------------------------------------
>                 Key: MNG-5889
>                 URL:
>             Project: Maven
>          Issue Type: Improvement
>          Components: Bootstrap & Build
>    Affects Versions: 3.3.3
>            Reporter: Daniel Spilker
>            Assignee: Tibor Digana
>             Fix For: 3.4.0
> 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

View raw message