This repository was archived by the owner on Sep 19, 2023. It is now read-only.
File tree
Expand file treeCollapse file tree2 files changed
+7
-6
lines changed Expand file treeCollapse file tree2 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://.com/googleapis/java-shared-dependencies.git",
|
7 |
| -"sha": "d0d16a1c3e0dc99176f6555ad648ea8b74b6fdcf" |
| 7 | +"sha": "d070266e7ddf8e5d0fb9965a6b404c78827b8f64" |
8 | 8 | }
|
9 | 9 | },
|
10 | 10 | {
|
11 | 11 | "git": {
|
12 | 12 | "name": "synthtool",
|
13 | 13 | "remote": "https://.com/googleapis/synthtool.git",
|
14 |
| -"sha": "4530cc6ff080ef8aca258c1ec92c4db10a1bbfb4" |
| 14 | +"sha": "f8823dec98277a9516f2fb6fae9f58b3a59a23e1" |
15 | 15 | }
|
16 | 16 | }
|
17 | 17 | ],
|
|
You can’t perform that action at this time.
0 commit comments