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 Thu, 15 Sep 2016 06:49:20 GMT


ASF GitHub Bot commented on MNG-5889:

Github user rpatrick00 commented on the issue:
    Because the maven shell scripts are finding the .mvn directory before starting java in
order to find the relevant .mvn/jvm.config to process any java command-line options that may
be found in it.  This location is passed into the Java process so that the Java code does
not look for the .mvn directory again...

> .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
> 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