Skip to content

Commit 750d934

Browse files
Require JDK 17 for build (#327)
- reuse javaVersion property from parent - property maven.compiler.release is set by parent for JDK 11+ - reuse checking of bytecode version from parent
1 parent 3316707 commit 750d934

File tree

16 files changed

+13
-41
lines changed

16 files changed

+13
-41
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
name: Build it
2525
uses: codehaus-plexus/.github/.github/workflows/maven.yml@master
2626
with:
27-
matrix-exclude: '[ {"jdk": "8"} ]'
27+
matrix-exclude: '[ {"jdk": "8"}, {"jdk": "11"} ]'
2828
jdk-distribution-matrix: '["zulu", "temurin", "microsoft", "liberica", "corretto"]'
2929
maven_args: 'verify javadoc:javadoc -e -B -V -fae'
3030

plexus-compiler-its/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<properties>
1717
<junit.version>4.13.2</junit.version>
18-
<maven.compiler.release>11</maven.compiler.release>
18+
<javaVersion>17</javaVersion>
1919
<maven.deploy.skip>true</maven.deploy.skip>
2020
</properties>
2121

plexus-compiler-its/src/main/it/MCOMPILER-346-mre/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
invoker.java.version = 11+
1918
invoker.goals = clean compile
2019
invoker.buildResult = failure

plexus-compiler-its/src/main/it/aspectj-compiler/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
invoker.java.version = 1.8+
1918
invoker.goals = clean test
2019
#invoker.buildResult = failure

plexus-compiler-its/src/main/it/eclipse-compiler-mapstruct/invoker.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
invoker.java.version = 1.8+
18+
invoker.maven.version = 3.9.6+
1919

2020
# without-dummy profile is used to have compiler plugin do actual compilation in the second run
2121
invoker.name.1 = Initial build

plexus-compiler-its/src/main/it/error-prone-compiler/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
invoker.java.version = 1.8+
1918
invoker.goals = clean test-compile
2019
invoker.buildResult = failure

plexus-compiler-its/src/main/it/missing-warnings/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
invoker.java.version = 11+
1918
invoker.goals = clean compile
2019
#invoker.buildResult = failure

plexus-compiler-its/src/main/it/simple-eclipse-compiler-fail/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
invoker.java.version = 1.8+
1918
invoker.goals = clean test-compile
2019
invoker.buildResult = failure

plexus-compiler-its/src/main/it/simple-eclipse-compiler/invoker.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
invoker.java.version = 1.8+
18+
invoker.maven.version = 3.9.6+
19+
1920
invoker.goals = clean test-compile
2021
#invoker.buildResult = failure

plexus-compiler-its/src/main/it/simple-javac-fork/invoker.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,5 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
invoker.java.version = 1.8+
1918
invoker.goals = clean test-compile
2019
#invoker.buildResult = failure

0 commit comments

Comments
 (0)