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

Commit 74d51f0

Browse files
authored
fix: Exclude a few dependencies from dependency check. (#1196)
Exclude the following dependencies from dependency check since they are now test dependencies brought in transitively by java-pubsub. grpc-services, re2j, opencensus-proto, bcpkix-jdk15on
1 parent c8e4be9 commit 74d51f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.kokoro/dependencies.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ function completenessCheck() {
6666
# This is stripped from the output as it is not present in the flattened pom.
6767
# Only dependencies with 'compile' or 'runtime' scope are included from original dependency list.
6868
msg "Generating dependency list using original pom..."
69-
mvn dependency:list -f pom.xml -DincludeScope=runtime -DexcludeArtifactIds=commons-codec,commons-logging,annotations,animal-sniffer-annotations,protobuf-java-util,bcprov-jdk15on -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt
69+
mvn dependency:list -f pom.xml -DincludeScope=runtime -DexcludeArtifactIds=commons-codec,commons-logging,annotations,animal-sniffer-annotations,protobuf-java-util,bcprov-jdk15on,grpc-services,re2j,opencensus-proto,bcpkix-jdk15on -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt
7070

7171
# Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes)
7272
msg "Generating dependency list using flattened pom..."
73-
mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime -DexcludeArtifactIds=commons-codec,commons-logging,annotations,animal-sniffer-annotations,protobuf-java-util,bcprov-jdk15on -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt
73+
mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime -DexcludeArtifactIds=commons-codec,commons-logging,annotations,animal-sniffer-annotations,protobuf-java-util,bcprov-jdk15on,grpc-services,re2j,opencensus-proto,bcpkix-jdk15on -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt
7474

7575
# Compare two dependency lists
7676
msg "Comparing dependency lists..."

0 commit comments

Comments
 (0)