Uploaded image for project: 'Maven Help Plugin'
  1. Maven Help Plugin
  2. MPH-155

quiet output to stdout doesn't always work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: evaluate
    • Labels:
      None
    • Environment:

      Description

      No pom.xml in current directory. From my understanding, the below should work.

      $ 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)
      $
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                khmarbaise Karl Heinz Marbaise
                Reporter:
                pveselov Pawel Veselov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: