Andrzej J. created MNG-8397: ------------------------------- Summary: Maven log (-l) truncated Key: MNG-8397 URL: https://issues.apache.org/jira/browse/MNG-8397 Project: Maven Issue Type: Bug Affects Versions: 4.0.0-beta-5 Reporter: Andrzej J.
Tried the {{-l}} option to capture Maven log from {{flatten:flatten}}. The output seems to be truncated. For example, if I execute {{flatten:flatten}} on the Maven source tree: {code:shell} mvn flatten:flattel -l /tmp/maven.log tail -n 8 /tmp/maven.log {code} I'm getting: {pre} ➜ maven git:(master) ✗ tail -n 8 /tmp/maven.log [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-pmd-plugin/3.23.0/maven-pmd-plugin-3.23.0.jar (153 kB at 2.0 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-toolchains-plugin/3.2.0/maven-toolchains-plugin-3.2.0.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-toolchains-plugin/3.2.0/maven-toolchains-plugin-3.2.0.pom (5.0 kB at 95 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-toolchains-plugin/3.2.0/maven-toolchains-plugin-3.2.0.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-toolchains-plugin/3.2.0/maven-toolchains-plugin-3.2.0.jar (47 kB at 820 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-javadoc-plugin/3.7.0/maven-javadoc-plugin-3.7.0.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-javadoc-plugin/3.7.0/maven-javadoc-plugin-3.7.0.pom (21 kB at 428 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org% {pre} Also, trying to {{tee}} output to standard output as well as a file doesn't work at all: {{mvn flatten:flatten | tee /tmp/maven.log}} results in an empty file. -- This message was sent by Atlassian Jira (v8.20.10#820010)