Skip to content

Commit

Permalink
Merge pull request #5350 from eclipse-ee4j/bump_to_java17
Browse files Browse the repository at this point in the history
Bump to Java 17
  • Loading branch information
BalusC authored Nov 11, 2023
2 parents 3292dc0 + 84588ff commit 665bd91
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
java: [ '11' ]
java: [ '17' ]
os: [ubuntu-latest]
steps:
- name: Checkout Sources
Expand Down
2 changes: 0 additions & 2 deletions impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
<description>EE4J Compatible Implementation for Jakarta Faces API</description>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<mojarra.logstrings.version>${project.version}</mojarra.logstrings.version>
</properties>

Expand Down
12 changes: 7 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,19 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>

<build>
<plugins>
<!-- Sets minimal Maven version to 3.6.0 -->
<!-- Sets minimal Maven version to 3.6.0 and minimal Java version to 17 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>enforce-maven</id>
<id>enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
Expand All @@ -79,6 +78,9 @@
<requireMavenVersion>
<version>3.6.0</version>
</requireMavenVersion>
<requireJavaVersion>
<version>[17,)</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
Expand Down

0 comments on commit 665bd91

Please sign in to comment.