This repository was archived by the owner on Sep 16, 2023. It is now read-only.
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() {
43
43
# Output dep list with compile scope generated using the original pom
44
44
# Running mvn dependency:list on Java versions that support modules will also include the module of the dependency.
45
45
# 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.
46
47
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
48
49
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 )
50
51
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
52
53
53
54
# Compare two dependency lists
54
55
msg " Comparing dependency lists..."
85
86
else
86
87
msg " Errors found. See log statements above."
87
88
exit 1
88
- fi
89
+ fi
Original file line number Diff line number Diff line change 4
4
"git": {
5
5
"name": ".",
6
6
"remote": "https://github.com/googleapis/java-vision.git",
7
- "sha": "24126ba9643d8d7c21510c5a542fc00338edee17 "
7
+ "sha": "671a8cef44e50fd10330b2a8b7e8f9eab0311f07 "
8
8
}
9
9
},
10
10
{
51
51
"git": {
52
52
"name": "synthtool",
53
53
"remote": "https://github.com/googleapis/synthtool.git",
54
- "sha": "4530cc6ff080ef8aca258c1ec92c4db10a1bbfb4 "
54
+ "sha": "f8823dec98277a9516f2fb6fae9f58b3a59a23e1 "
55
55
}
56
56
}
57
57
],
You can’t perform that action at this time.
0 commit comments