Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
4.0.0-beta-5
-
None
-
None
-
None
Description
EDIT: Looks like this is fixed in 4.0.0-rc-2-SNAPSHOT.
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:
mvn flatten:flattel -l /tmp/maven.log tail -n 8 /tmp/maven.log
I'm getting:
[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%
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.