Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
fix: don't screen protobuf-java-util dep
Browse files Browse the repository at this point in the history
  • Loading branch information
chanseokoh committed Nov 15, 2021
1 parent 4f5f0d9 commit 5593317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .kokoro/dependencies.sh
Expand Up @@ -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..."
Expand Down

0 comments on commit 5593317

Please sign in to comment.