Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 8.9.0 with Spring Boot 3.4.2 #28542

Closed
1 task done
mshima opened this issue Jan 24, 2025 · 9 comments
Closed
1 task done

Release 8.9.0 with Spring Boot 3.4.2 #28542

mshima opened this issue Jan 24, 2025 · 9 comments
Assignees
Labels
$$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $300 https://www.jhipster.tech/bug-bounties/
Milestone

Comments

@mshima
Copy link
Member

mshima commented Jan 24, 2025

Overview of the feature request

Release generator-jhipster based on Spring Boot v3.4.2

Motivation for or Use Case
Related issues or PR
  • Checking this box is mandatory (this is just to show you read everything)
@mshima
Copy link
Member Author

mshima commented Feb 5, 2025

@mraible what's the plan for next release?

@mraible
Copy link
Contributor

mraible commented Feb 5, 2025

I can do one this week. Does it need to be a minor version bump or can it be a patch release? Spring Boot is a patch release, so I'm inclined to do 8.8.1 instead of 8.9.0.

@mshima
Copy link
Member Author

mshima commented Feb 5, 2025

I prefer to always release a minor version unless we have an emergency release.
This makes more sense to blueprints.
We could release a minor version each Spring Boot patch version and generator-jhipster major version each Spring Boot minor version.

@mraible
Copy link
Contributor

mraible commented Feb 8, 2025

jhipster jdl blog-oauth2 followed by ./mvnw on the main branch results in:

2025-02-08T00:40:55.302-07:00 DEBUG 44611 --- [  restartedMain] com.jhipster.demo.blog.BlogApp           : Running with Spring Boot v3.4.2, Spring v6.2.2
2025-02-08T00:40:55.302-07:00  INFO 44611 --- [  restartedMain] com.jhipster.demo.blog.BlogApp           : The following 2 profiles are active: "dev", "api-docs"
2025-02-08T00:41:03.320-07:00 ERROR 44611 --- [  restartedMain] o.s.boot.SpringApplication               : Application run failed

org.springframework.boot.docker.compose.core.ProcessExitException: 'docker compose --file /Users/mraible/Downloads/jhipster-oauth/src/main/docker/services.yml --ansi never up --no-color --detach --wait' failed with exit code 1.

Stdout:


Stderr:
 Container blog-keycloak-1  Created
 Container blog-mysql-1  Created
 Container blog-mysql-1  Starting
 Container blog-keycloak-1  Starting
 Container blog-keycloak-1  Started
 Container blog-mysql-1  Started
 Container blog-mysql-1  Waiting
 Container blog-keycloak-1  Waiting
 Container blog-keycloak-1  Healthy
container blog-mysql-1 exited (1)

	at org.springframework.boot.docker.compose.core.ProcessRunner.run(ProcessRunner.java:97)
	at org.springframework.boot.docker.compose.core.DockerCli.run(DockerCli.java:81)
	at org.springframework.boot.docker.compose.core.DefaultDockerCompose.up(DefaultDockerCompose.java:56)
	at org.springframework.boot.docker.compose.lifecycle.StartCommand.applyTo(StartCommand.java:51)
	at org.springframework.boot.docker.compose.lifecycle.DockerComposeLifecycleManager.start(DockerComposeLifecycleManager.java:131)
	at org.springframework.boot.docker.compose.lifecycle.DockerComposeListener.onApplicationEvent(DockerComposeListener.java:53)
	at org.springframework.boot.docker.compose.lifecycle.DockerComposeListener.onApplicationEvent(DockerComposeListener.java:35)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:185)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:178)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:156)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)
	at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
	at org.springframework.boot.context.event.EventPublishingRunListener.contextLoaded(EventPublishingRunListener.java:98)
	at org.springframework.boot.SpringApplicationRunListeners.lambda$contextLoaded$4(SpringApplicationRunListeners.java:72)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
	at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:112)
	at org.springframework.boot.SpringApplicationRunListeners.contextLoaded(SpringApplicationRunListeners.java:72)
	at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:416)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:317)
	at com.jhipster.demo.blog.BlogApp.main(BlogApp.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:50)

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  10.903 s
[INFO] Finished at: 2025-02-08T00:41:03-07:00
[INFO] ------------------------------------------------------------------------
Execution time: 12 s.
➜  jhipster-oauth git:(main) docker ps
CONTAINER ID   IMAGE                              COMMAND                  CREATED              STATUS                    PORTS                                                                              NAMES
d97d787c1253   quay.io/keycloak/keycloak:26.1.1   "/opt/keycloak/bin/k…"   About a minute ago   Up 17 seconds (healthy)   8080/tcp, 8443/tcp, 127.0.0.1:9080->9080/tcp, 9000/tcp, 127.0.0.1:9443->9443/tcp   blog-keycloak-1
➜  jhipster-oauth git:(main) dstop
fc56afb7db22
d97d787c1253
f18171f6f61e
5d2cc3b94859
68f650693c2e
aadb3efa5510
ea5d7d72b570
86c34ca8997e
0dadc5cd5df5
➜  jhipster-oauth git:(main) docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
➜  jhipster-oauth git:(main) ./mvnw
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------< com.jhipster.demo.blog:blog >---------------------
[INFO] Building Blog 0.0.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] >>> spring-boot:3.4.2:run (default-cli) > test-compile @ blog >>>
[INFO]
[INFO] --- enforcer:3.5.0:enforce (enforce-versions) @ blog ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO]
[INFO] --- enforcer:3.5.0:enforce (enforce-dependencyConvergence) @ blog ---
[WARNING] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence failed with message:
Failed while enforcing releasability.

Dependency convergence error for javax.xml.bind:jaxb-api:jar:2.2.12 paths to dependency are:
+-com.jhipster.demo.blog:blog:jar:0.0.1-SNAPSHOT
  +-com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.18.2:compile
    +-javax.xml.bind:jaxb-api:jar:2.2.12:compile
and
+-com.jhipster.demo.blog:blog:jar:0.0.1-SNAPSHOT
  +-org.liquibase:liquibase-core:jar:4.29.2:compile
    +-javax.xml.bind:jaxb-api:jar:2.3.1:compile


Dependency convergence error for org.apache.commons:commons-text:jar:1.11.0 paths to dependency are:
+-com.jhipster.demo.blog:blog:jar:0.0.1-SNAPSHOT
  +-org.liquibase:liquibase-core:jar:4.29.2:compile
    +-com.opencsv:opencsv:jar:5.9:compile
      +-org.apache.commons:commons-text:jar:1.11.0:compile
and
+-com.jhipster.demo.blog:blog:jar:0.0.1-SNAPSHOT
  +-org.liquibase:liquibase-core:jar:4.29.2:compile
    +-org.apache.commons:commons-text:jar:1.12.0:compile

[INFO]
[INFO] --- properties:1.2.1:read-project-properties (default) @ blog ---
[INFO] Loading 32 properties from File: /Users/mraible/Downloads/jhipster-oauth/sonar-project.properties
[INFO]
[INFO] --- jacoco:0.8.12:prepare-agent (pre-unit-tests) @ blog ---
[INFO] argLine set to -javaagent:/Users/mraible/.m2/repository/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/Users/mraible/Downloads/jhipster-oauth/target/jacoco.exec -Djava.security.egd=file:/dev/./urandom -Xmx1G
[INFO]
[INFO] --- spotless:2.44.2:apply (spotless) @ blog ---
[INFO] Spotless.Java is keeping 116 files clean - 0 were changed to be clean, 0 were already clean, 116 were skipped because caching determined they were already clean
[INFO]
[INFO] --- spring-boot:3.4.2:build-info (build-info) @ blog ---
[INFO]
[INFO] --- checksum:1.11:files (create-pre-compiled-webapp-checksum) @ blog ---
[INFO]
[INFO] --- antrun:3.1.0:run (eval-frontend-checksum) @ blog ---
[INFO] Executing tasks
[INFO] Executed tasks
[INFO]
[INFO] --- frontend:1.15.1:install-node-and-npm (install-node-and-npm) @ blog ---
[INFO] Node v22.13.1 is already installed.
[INFO] NPM 11.1.0 is already installed.
[INFO]
[INFO] --- frontend:1.15.1:npm (npm install) @ blog ---
[INFO] Skipping execution.
[INFO]
[INFO] --- frontend:1.15.1:npm (webapp build dev) @ blog ---
[INFO] Skipping execution.
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ blog ---
[INFO] Copying 4 resources from src/main/resources to target/classes
[INFO] Copying 19 resources from src/main/resources to target/classes
[INFO]
[INFO] --- compiler:3.13.0:compile (default-compile) @ blog ---
[INFO] Nothing to compile - all classes are up to date.
[INFO]
[INFO] --- checksum:1.11:files (create-compiled-webapp-checksum) @ blog ---
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ blog ---
[INFO] Copying 6 resources from src/test/resources to target/test-classes
[INFO]
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ blog ---
[INFO] Nothing to compile - all classes are up to date.
[INFO]
[INFO] <<< spring-boot:3.4.2:run (default-cli) < test-compile @ blog <<<
[INFO]
[INFO]
[INFO] --- spring-boot:3.4.2:run (default-cli) @ blog ---
[INFO] Attaching agents: []

        ██╗ ██╗   ██╗ ████████╗ ███████╗   ██████╗ ████████╗ ████████╗ ███████╗
        ██║ ██║   ██║ ╚══██╔══╝ ██╔═══██╗ ██╔════╝ ╚══██╔══╝ ██╔═════╝ ██╔═══██╗
        ██║ ████████║    ██║    ███████╔╝ ╚█████╗     ██║    ██████╗   ███████╔╝
  ██╗   ██║ ██╔═══██║    ██║    ██╔════╝   ╚═══██╗    ██║    ██╔═══╝   ██╔══██║
  ╚██████╔╝ ██║   ██║ ████████╗ ██║       ██████╔╝    ██║    ████████╗ ██║  ╚██╗
   ╚═════╝  ╚═╝   ╚═╝ ╚═══════╝ ╚═╝       ╚═════╝     ╚═╝    ╚═══════╝ ╚═╝   ╚═╝

:: JHipster 🤓  :: Running Spring Boot 3.4.2 :: Startup profile(s) dev ::
:: https://www.jhipster.tech ::

2025-02-08T00:41:32.904-07:00 DEBUG 45038 --- [kground-preinit] org.jboss.logging                        : Logging Provider: org.jboss.logging.Slf4jLoggerProvider found via system property
2025-02-08T00:41:32.918-07:00  INFO 45038 --- [  restartedMain] com.jhipster.demo.blog.BlogApp           : Starting BlogApp using Java 17.0.13 with PID 45038 (/Users/mraible/Downloads/jhipster-oauth/target/classes started by mraible in /Users/mraible/Downloads/jhipster-oauth)
2025-02-08T00:41:32.918-07:00 DEBUG 45038 --- [  restartedMain] com.jhipster.demo.blog.BlogApp           : Running with Spring Boot v3.4.2, Spring v6.2.2
2025-02-08T00:41:32.918-07:00  INFO 45038 --- [  restartedMain] com.jhipster.demo.blog.BlogApp           : The following 2 profiles are active: "dev", "api-docs"
2025-02-08T00:41:40.799-07:00 ERROR 45038 --- [  restartedMain] o.s.boot.SpringApplication               : Application run failed

org.springframework.boot.docker.compose.core.ProcessExitException: 'docker compose --file /Users/mraible/Downloads/jhipster-oauth/src/main/docker/services.yml --ansi never up --no-color --detach --wait' failed with exit code 1.

Stdout:


Stderr:
 Container blog-keycloak-1  Created
 Container blog-mysql-1  Created
 Container blog-keycloak-1  Starting
 Container blog-mysql-1  Starting
 Container blog-mysql-1  Started
 Container blog-keycloak-1  Started
 Container blog-mysql-1  Waiting
 Container blog-keycloak-1  Waiting
 Container blog-keycloak-1  Healthy
container blog-mysql-1 exited (1)

	at org.springframework.boot.docker.compose.core.ProcessRunner.run(ProcessRunner.java:97)
	at org.springframework.boot.docker.compose.core.DockerCli.run(DockerCli.java:81)
	at org.springframework.boot.docker.compose.core.DefaultDockerCompose.up(DefaultDockerCompose.java:56)
	at org.springframework.boot.docker.compose.lifecycle.StartCommand.applyTo(StartCommand.java:51)
	at org.springframework.boot.docker.compose.lifecycle.DockerComposeLifecycleManager.start(DockerComposeLifecycleManager.java:131)
	at org.springframework.boot.docker.compose.lifecycle.DockerComposeListener.onApplicationEvent(DockerComposeListener.java:53)
	at org.springframework.boot.docker.compose.lifecycle.DockerComposeListener.onApplicationEvent(DockerComposeListener.java:35)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:185)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:178)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:156)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)
	at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
	at org.springframework.boot.context.event.EventPublishingRunListener.contextLoaded(EventPublishingRunListener.java:98)
	at org.springframework.boot.SpringApplicationRunListeners.lambda$contextLoaded$4(SpringApplicationRunListeners.java:72)
	at java.base/java.lang.Iterable.forEach(Iterable.java:75)
	at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
	at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:112)
	at org.springframework.boot.SpringApplicationRunListeners.contextLoaded(SpringApplicationRunListeners.java:72)
	at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:416)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:317)
	at com.jhipster.demo.blog.BlogApp.main(BlogApp.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:50)

@mraible
Copy link
Contributor

mraible commented Feb 8, 2025

I tried it again this morning and I'm seeing the same error. Deleting the local MySQL Docker container and trying again fixed it.

@mraible mraible added $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $300 https://www.jhipster.tech/bug-bounties/ labels Feb 8, 2025
@mraible mraible self-assigned this Feb 8, 2025
@mraible mraible added this to the 8.9.0 milestone Feb 8, 2025
@mraible
Copy link
Contributor

mraible commented Feb 8, 2025

v8.9.0 is now available! I'll hold off on announcing it until blueprints are updated.

@mraible mraible closed this as completed Feb 8, 2025
@mraible
Copy link
Contributor

mraible commented Feb 8, 2025

It seems I might've messed up because there is no longer an 8.8.0 milestone. https://github.com/jhipster/generator-jhipster/milestones

@mraible
Copy link
Contributor

mraible commented Feb 8, 2025

Nevermind. It's there, the sorting defaults to the last update date. https://github.com/jhipster/generator-jhipster/milestones?direction=desc&sort=title&state=closed

@mraible
Copy link
Contributor

mraible commented Feb 8, 2025

JHipster Online fails to deploy because of the following error:

Error: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar (default-cli) on project jhonline: Execution default-cli of goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar failed: An API incompatibility was encountered while executing org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar: java.lang.UnsupportedClassVersionError: org/sonar/batch/bootstrapper/EnvironmentInformation has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

https://github.com/jhipster/jhipster-online/actions/runs/13218347743/job/36900658936

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
$$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $300 https://www.jhipster.tech/bug-bounties/
Projects
None yet
Development

No branches or pull requests

2 participants