adoroszlai opened a new pull request, #4017: URL: https://github.com/apache/ozone/pull/4017
## What changes were proposed in this pull request? Suppress warning about long filenames output by `maven-assembly-plugin` when creating source tarball: ``` [INFO] --- maven-assembly-plugin:2.4:single (src-dist) @ ozone-dist --- [INFO] Reading assembly descriptor: /home/adoroszlai/src/apache/ozone/hadoop-ozone/dist/src/main/assemblies/ozone-src.xml [INFO] Building tar: /home/adoroszlai/src/apache/ozone/hadoop-ozone/dist/target/ozone-1.3.0-SNAPSHOT-src.tar.gz [WARNING] Entry: ozone-1.3.0-SNAPSHOT-src/dev-support/annotations/target/maven-status/maven-compiler-plugin/compile/default-compile/ longer than 100 characters. [WARNING] Resulting tar file can only be processed successfully by GNU compatible tar commands [WARNING] Entry: ozone-1.3.0-SNAPSHOT-src/dev-support/annotations/target/classes/META-INF/services/javax.annotation.processing.Processor longer than 100 characters. [WARNING] Entry: ozone-1.3.0-SNAPSHOT-src/dev-support/annotations/target/classes/org/apache/ozone/annotations/RequestFeatureValidatorProcessor$ProcessingPhaseVisitor.class longer than 100 characters. [WARNING] Entry: ozone-1.3.0-SNAPSHOT-src/dev-support/annotations/target/classes/org/apache/ozone/annotations/ReplicateAnnotationProcessor.class longer than 100 characters. [WARNING] Entry: ozone-1.3.0-SNAPSHOT-src/dev-support/annotations/target/classes/org/apache/ozone/annotations/RequestFeatureValidatorProcessor$ConditionValidator.class longer than 100 characters. ... ``` https://issues.apache.org/jira/browse/HDDS-7562 ## How was this patch tested? Verified that warnings are gone, tarball is unchanged. ``` $ git checkout master $ mvn -B -Psrc -DskipTests clean verify > tee master.log $ mv hadoop-ozone/dist/target/ozone-1.3.0-SNAPSHOT-src.tar.gz master.tar.gz $ git checkout HDDS-7562 $ mvn -B -Psrc -DskipTests clean verify > tee patch.log $ mv hadoop-ozone/dist/target/ozone-1.3.0-SNAPSHOT-src.tar.gz patch.tar.gz $ wc -l master.log patch.log 6625 master.log 2880 patch.log 9505 total $ diff -uw \ <(tar tzvf master.tar.gz | awk '{ print $NF }' | sort) \ <(tar tzvf patch.tar.gz | awk '{ print $NF }' | sort) \ | wc -l 0 ``` Regular CI: https://github.com/adoroszlai/hadoop-ozone/actions/runs/3582866264 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
