This repository was archived by the owner on Sep 16, 2023. It is now read-only.
File tree 4 files changed +13
-5
lines changed
4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,14 @@ jobs:
36
36
JOB_TYPE : test
37
37
dependencies :
38
38
runs-on : ubuntu-latest
39
+ strategy :
40
+ matrix :
41
+ java : [8, 11]
39
42
steps :
40
43
- uses : actions/checkout@v2
41
44
- uses : actions/setup-java@v1
42
45
with :
43
- java-version : 8
46
+ java-version : ${{matrix.java}}
44
47
- run : java -version
45
48
- run : .kokoro/dependencies.sh
46
49
linkage-monitor :
Original file line number Diff line number Diff line change @@ -41,8 +41,10 @@ echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************"
41
41
# # Run dependency list completeness check
42
42
function completenessCheck() {
43
43
# Output dep list with compile scope generated using the original pom
44
+ # Running mvn dependency:list on Java versions that support modules will also include the module of the dependency.
45
+ # This is stripped from the output as it is not present in the flattened pom.
44
46
msg " Generating dependency list using original pom..."
45
- mvn dependency:list -f pom.xml -Dsort=true | grep ' \[INFO] .*:.*:.*:.*:.*' | grep -v ' :test$' > .org-list.txt
47
+ mvn dependency:list -f pom.xml -Dsort=true | grep ' \[INFO] .*:.*:.*:.*:.*' | sed -e s/ \\ s-- \\ smodule. * // | grep -v ' :test$' > .org-list.txt
46
48
47
49
# Output dep list generated using the flattened pom (test scope deps are ommitted)
48
50
msg " Generating dependency list using flattened pom..."
Original file line number Diff line number Diff line change 117
117
<groupId >org.apache.maven.plugins</groupId >
118
118
<artifactId >maven-dependency-plugin</artifactId >
119
119
<configuration >
120
- <ignoredUnusedDeclaredDependencies >org.objenesis:objenesis</ignoredUnusedDeclaredDependencies >
120
+ <ignoredUnusedDeclaredDependencies >
121
+ <ignoredUnusedDeclaredDependency >org.objenesis:objenesis</ignoredUnusedDeclaredDependency >
122
+ <ignoredUnusedDeclaredDependency >javax.annotation:javax.annotation-api</ignoredUnusedDeclaredDependency >
123
+ </ignoredUnusedDeclaredDependencies >
121
124
</configuration >
122
125
</plugin >
123
126
</plugins >
Original file line number Diff line number Diff line change 4
4
"git": {
5
5
"name": ".",
6
6
"remote": "https://github.com/googleapis/java-recaptchaenterprise.git",
7
- "sha": "5249385e3ba93588ac95a577dfb280c00b9f4971 "
7
+ "sha": "c040412d18f4e97fcb54405a087b7418c0c9f33c "
8
8
}
9
9
},
10
10
{
27
27
"git": {
28
28
"name": "synthtool",
29
29
"remote": "https://github.com/googleapis/synthtool.git",
30
- "sha": "c4f3059c27591eb24d6942a0e357ec94c80459f2 "
30
+ "sha": "4f2c9f752a94042472fc03c5bd9e06e89817d2bd "
31
31
}
32
32
}
33
33
],
You can’t perform that action at this time.
0 commit comments