File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,13 @@ function completenessCheck() {
4343 # Output dep list with compile scope generated using the original pom
4444 # Running mvn dependency:list on Java versions that support modules will also include the module of the dependency.
4545 # This is stripped from the output as it is not present in the flattened pom.
46+ # Only dependencies with 'compile' or 'runtime' scope are included from original dependency list.
4647 msg " Generating dependency list using original pom..."
47- mvn dependency:list -f pom.xml -Dsort=true | grep ' \[INFO] .*:.*:.*:.*:.*' | sed -e s/\\ s--\\ smodule.* // | grep -v ' :test$ ' > .org-list.txt
48+ mvn dependency:list -f pom.xml -DincludeScope=runtime - Dsort=true | grep ' \[INFO] .*:.*:.*:.*:.*' | sed -e s/\\ s--\\ smodule.* // > .org-list.txt
4849
49- # Output dep list generated using the flattened pom (test scope deps are ommitted )
50+ # Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes )
5051 msg " Generating dependency list using flattened pom..."
51- mvn dependency:list -f .flattened-pom.xml -Dsort=true | grep ' \[INFO] .*:.*:.*:.*:.*' > .new-list.txt
52+ mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime - Dsort=true | grep ' \[INFO] .*:.*:.*:.*:.*' > .new-list.txt
5253
5354 # Compare two dependency lists
5455 msg " Comparing dependency lists..."
8586else
8687 msg " Errors found. See log statements above."
8788 exit 1
88- fi
89+ fi
Original file line number Diff line number Diff line change 44 "git": {
55 "name": ".",
66 "remote": "https://github.com/googleapis/java-pubsublite.git",
7- "sha": "c466e2fc5445c77ceb86c9732a5ab80081bd8cc3 "
7+ "sha": "98942601980624be9867889e1163785629dbd0b7 "
88 }
99 },
1010 {
1919 "git": {
2020 "name": "synthtool",
2121 "remote": "https://github.com/googleapis/synthtool.git",
22- "sha": "4530cc6ff080ef8aca258c1ec92c4db10a1bbfb4 "
22+ "sha": "f8823dec98277a9516f2fb6fae9f58b3a59a23e1 "
2323 }
2424 }
2525 ],
You can’t perform that action at this time.
0 commit comments