maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-5889) .mvn directory should be picked when using --file
Date Sun, 13 Nov 2016 18:23:58 GMT

    [ https://issues.apache.org/jira/browse/MNG-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15661883#comment-15661883
] 

ASF GitHub Bot commented on MNG-5889:
-------------------------------------

Github user hboutemy commented on the issue:

    https://github.com/apache/maven/pull/94
  
    let's help: I dug into core-its, to find what existing IT to extend, since .mvn feature
should have an IT already
    => found mng-5771-core-extensions IT, which already tests 3 conditions: I think it's
the right place to add one more
    here are the pointers:
    - the IT source: https://github.com/apache/maven-integration-testing/blob/master/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng5771CoreExtensionsTest.java
    - associated test projects: https://github.com/apache/maven-integration-testing/tree/master/core-it-suite/src/test/resources/mng-5771-core-extensions/client
    
    I suppose writing the IT will simply require to copy testCoreExtension() method and not
setting basedir on the Verifier, but add the new option
    
    here is core-its intro: http://maven.apache.org/core-its/core-it-suite/
    
    do you want to try? Or I do it (now that I had a look and found existing IT, seems easy)


> .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
>             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
(v6.3.4#6332)

Mime
View raw message