From 55933174c5f35d774960c4c2f3f9129faee06fad Mon Sep 17 00:00:00 2001 From: Chanseok Oh Date: Mon, 15 Nov 2021 12:35:01 -0500 Subject: [PATCH] fix: don't screen protobuf-java-util dep --- .kokoro/dependencies.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index 383195d9..4fcb7b3b 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -67,11 +67,11 @@ function completenessCheck() { mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// >.org-list.txt # Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes) - # [3/1/2021] Adding -DexcludeArtifactIds=annotations,gson,protobuf-java-util,commons-codec,commons-logging,animal-sniffer-annotations + # [3/1/2021] Adding -DexcludeArtifactIds=annotations,gson,commons-codec,commons-logging,animal-sniffer-annotations # due to maven dependency plugin setting transitive compile/runtime deps scope to test when it is also a test dep # Raised issue: https://issues.apache.org/jira/browse/MDEP-737 msg "Generating dependency list using flattened pom..." - mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime -DexcludeArtifactIds=annotations,protobuf-java-util,commons-codec,commons-logging,animal-sniffer-annotations -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt + mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime -DexcludeArtifactIds=annotations,commons-codec,commons-logging,animal-sniffer-annotations -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt # Compare two dependency lists msg "Comparing dependency lists..."