maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Heinz Marbaise (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MPH-155) quiet output to stdout doesn't always work
Date Sat, 01 Dec 2018 08:44:00 GMT

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

Karl Heinz Marbaise commented on MPH-155:
-----------------------------------------

I can exactly reproduce the issue. If I use the most recent version from master which contains
the fix for MPH-154 it works as expected.

> quiet output to stdout doesn't always work
> ------------------------------------------
>
>                 Key: MPH-155
>                 URL: https://issues.apache.org/jira/browse/MPH-155
>             Project: Maven Help Plugin
>          Issue Type: Bug
>          Components: evaluate
>    Affects Versions: 3.1.0
>         Environment: $ mvn -v
> Apache Maven 3.5.2 (Red Hat 3.5.2-5)
> Maven home: /usr/share/maven
> Java version: 1.8.0_191, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-8.fc28.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.19.4-200.fc28.x86_64", arch: "amd64", family: "unix"
>            Reporter: Pawel Veselov
>            Priority: Major
>
> No pom.xml in current directory. From my understanding, the below should work.
> {noformat}
> $ mvn help:evaluate -Dexpression=settings.localRepository 
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Stub Project (No POM) 1
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-help-plugin:3.1.0:evaluate (default-cli) @ standalone-pom ---
> [INFO] No artifact parameter specified, using 'org.apache.maven:standalone-pom:pom:1'
as project.
> [INFO] 
> /home/vps/.m2/repository
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 0.519 s
> [INFO] Finished at: 2018-11-30T18:26:43+01:00
> [INFO] Final Memory: 23M/964M
> [INFO] ------------------------------------------------------------------------
> $ mvn help:evaluate -Dexpression=settings.localRepository -q -DforceStdout
> $ echo $(mvn help:evaluate -Dexpression=settings.localRepository -q -DforceStdout)
> $
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message