gzm55 commented on PR #726:
URL: https://github.com/apache/maven-mvnd/pull/726#issuecomment-1380434752

   @ppalaga this option is used to keep the logging behavior the same as the 
original maven:
   
   Expected from maven (no new-line char at the end):
   ```bash
   $ mvn -DforceStdout -q help:evaluate -Dexpression=project.version -l >(sed 
's/^/in log: /')
   in log: 1.0.0
   ```
   
   `mvnd` default:
   ```bash
   $ mvnd -DforceStdout -q help:evaluate -Dexpression=project.version -l >(sed 
's/^/in log: /')
   in log: [INFO] [stdout] 1.0.0
   ```
   
   `mvnd` with `--raw-streams`:
   ```bash
   $ mvnd -DforceStdout -q help:evaluate -Dexpression=project.version -l >(sed 
's/^/in log: /') --raw-streams
   1.0.0
   ```
   
   `mvnd` with new option `-Dmvnd.preserveProjectLog` (with new-line char at 
the end):
   ```bash
   $ mvnd -DforceStdout -q help:evaluate -Dexpression=project.version -l >(sed 
's/^/in log: /') -Dmvnd.preserveProjectLog
   in log: 1.0.0
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to