Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Setup'
description: 'Setup environment with Java 21, Node 20'
description: 'Setup environment with Java 25, Node 20'
runs:
using: 'composite'
steps:
Expand All @@ -10,11 +10,11 @@ runs:
- name: 'Setup: update NPM'
shell: bash
run: npm install -g npm
- name: 'Setup: Java 21'
- name: 'Setup: Java 25'
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
java-version: '25'
- name: 'Setup: check tools'
shell: bash
run: |
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

### Java

You need to have Java 21:
You need to have Java 25:

- [JDK 21](https://openjdk.java.net/projects/jdk/21/)
- [JDK 25](https://openjdk.org/projects/jdk/25/)

### Node.js and NPM

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 16 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
</dependencies>

<properties>
<java.version>21</java.version>
<java.version>25</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

Expand All @@ -115,6 +115,7 @@
<cucumber.version>7.28.1</cucumber.version>
<jhlite.version>1.35.0</jhlite.version>
<maven-checkstyle-plugin.version>3.6.0</maven-checkstyle-plugin.version>
<checkstyle.version>13.3.0</checkstyle.version>
<jacoco.version>0.8.13</jacoco.version>
<properties-maven-plugin.version>1.2.1</properties-maven-plugin.version>
<sonar-maven-plugin.version>5.1.0.4751</sonar-maven-plugin.version>
Expand Down Expand Up @@ -372,11 +373,24 @@
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>${checkstyle.version}</version>
</dependency>
</dependencies>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<sourceDirectories>
<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
</sourceDirectories>
<testSourceDirectories>
<testSourceDirectory>${project.build.testSourceDirectory}</testSourceDirectory>
</testSourceDirectories>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private static String profilesTrace(Environment environment) {
private static String hostAddress() {
try {
return InetAddress.getLocalHost().getHostAddress();
} catch (UnknownHostException e) {
} catch (UnknownHostException _) {
log.warn("The host name could not be determined, using `localhost` as fallback");
}

Expand Down
6 changes: 3 additions & 3 deletions src/test/resources/projects/init-maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</pluginRepositories>

<properties>
<java.version>21</java.version>
<java.version>25</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

Expand Down Expand Up @@ -183,8 +183,8 @@
<version>[${maven.version},)</version>
</requireMavenVersion>
<requireJavaVersion>
<message>You are running an incompatible version of Java. JHipster engine supports JDK 21+.</message>
<version>[21,22)</version>
<message>You are running an incompatible version of Java. JHipster engine supports JDK 25+.</message>
<version>[25,)</version>
</requireJavaVersion>
</rules>
</configuration>
Expand Down
Loading