We had some problems using the version 3.0.0 of this plugin after the ecent updates. Updating the plugin, downloading that again from the online repository, it seems that the version that before was working now was build with java 17, generating during the build of our project the following error
Execution default of goal org.springframework.boot:spring-boot-maven-plugin:3.0.0:build-info failed: Unable to load the mojo 'build-info' in the plugin 'org.springframework.boot:spring-boot-maven-plugin:3.0.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: org/springframew ork/boot/maven/BuildInfoMojo 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
This happened since few days ago, so I suppose it is a release related, as 3.0.0 had a recent change in the git repository and in the maven central repository; could this be release problem? Thanks, Massimiliano
Comment From: bclozel
Spring Boot 3.0 requires Java 17, so this is the expected behavior.
Comment From: maxper75
So as it is the expected behavior it means that it was working improperly since the last online package update? Just to understand it. Thanks!
Il giorno lun 28 nov 2022 alle ore 11:56 Brian Clozel ***@***.*** ha scritto:
Spring Boot 3.0 requires Java 17 https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide#review-system-requirements, so this is the expected behavior.
— Reply to this email directly, view it on GitHub https://github.com/spring-projects/spring-boot/issues/33394#issuecomment-1328881118, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKQ3NCWEENO4HTIA4ZKQBLWKSFVLANCNFSM6AAAAAASNGACVA . You are receiving this because you authored the thread.Message ID: @.***>
-- Massimiliano Perantoni http://www.perantoni.net tw: maxper75
Comment From: bclozel
3.0.0 is a new major version and we require baseline upgrades for those, including the Java version.