maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (MNG-6198) mvn script fails to locate .mvn directory when pom location specified with -f
Date Tue, 28 Mar 2017 05:30:41 GMT

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

Hervé Boutemy edited comment on MNG-6198 at 3/28/17 5:30 AM:
-------------------------------------------------------------

how is it possible that MNG-5889 IT did not detect the issue?
is the IT missing something?

IMHO, fixing the bug is something, but getting a good IT is even more important, or at least
as much...


was (Author: hboutemy):
how is it possible that MNG-5889 IT did not detect the issue?
is the IT missing something?

> mvn script fails to locate .mvn directory when pom location specified with -f
> -----------------------------------------------------------------------------
>
>                 Key: MNG-6198
>                 URL: https://issues.apache.org/jira/browse/MNG-6198
>             Project: Maven
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.5.0-alpha-1, 3.5.0-beta-1
>            Reporter: Stephen Connolly
>            Assignee: Stephen Connolly
>             Fix For: 3.5.0
>
>
> Steps to reproduce
> {code}
> $ mkdir apache
> $ cd apache
> $ git clone https://git-wip-us.apache.org/repos/asf/maven.git
> $ mkdir .mvn
> $ cd .mvn
> $ echo -DskipTests > maven.config
> $ cd ../maven
> $ mvn install # notice tests are skipped
> $ cd ../..
> $ mvn install -f apache/maven/pom.xml # notice tests not skipped (bug)
> $ cd apache
> $ mvn install -f maven/pom.xml # notice tests are skipped (accident)
> {code}
> The issue is that we do not search for the .mvn folder from the directory specified from
{{-f}} rather from the current working directory



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message