Repository navigation
Commit 390d57a
authored
build: run CI on JDK 11; lock API surface to Java 8; bump to 8.2.2 (#168)
The spotbugs-maven-plugin 4.9.8.3 enforced by Build-Steps requires
JDK 11 to execute, which caused the v8.2.1 release pipeline to fail
before publish. Switch the Maven build task to JDK 11 so spotbugs
runs, while keeping the emitted bytecode targeted at Java 8 for
customer compatibility.
- pipeline-templates/build-steps.yml: jdkVersionOption 1.8 -> 1.11
- pom.xml (maven-compiler-plugin): add <release>8</release> alongside
the existing <source>/<target>1.8 so the compiler also restricts the
API surface to the Java 8 stdlib (prevents accidental use of 9+
methods that would NoSuchMethodError at runtime on customer JDK 8).
- pom.xml: bump <revision> 8.2.1-SNAPSHOT -> 8.2.2-SNAPSHOT
- pipeline-templates/global-variables.yml: semanticVersion 8.2.1 -> 8.2.2
Verified locally: 'mvn -DskipTests -Drevision=8.2.2 verify' on
JDK 11 produces safeguardjava-8.2.2.jar; javap reports class major
version 52 (Java 8). No source changes; v8.2.1 security content
ships unchanged.1 parent 948d4c1 commit 390d57a
3 files changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
0 commit comments