Pawel Veselov created MPH-155: --------------------------------- Summary: 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 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)