[ERROR] The plugin com.vaadin:vaadin-maven-plugin:7.7.46 and java 11 check?

we were having our build running with vaadin-maven-plugin:7.7.46 and java 1.8. today suddenly we started getting following warning.

[ERROR] The plugin com.vaadin:vaadin-maven-plugin:7.7.46 has unmet prerequisites:
[ERROR] Required Java version 11 is not met by current version: 1.8.0_472

anyone faced this problem and how to fix it ?

Have you tried upgrading the Java version to (min) 11?

Java 8 should work as well.

found the solution. the 7.7.46 is triggering java 11 check with maven 3.9.12.
until maven 3.9.11 its working without any issue.

1 Like

The issues should be fixed in Vaadin 7.7.51 and Vaadin 8.30.1.

There might be other products impacted like this issue showing in Vaadin 14 which should work also with Java 8, or Vaadin 23 which requires Java 11, but the plugin may require higher version of Java.

E.g. Vaadin 14 update is in review here: fix: Set required Java version to 1.8 in flow-maven-plugin by TatuLund · Pull Request #23398 · vaadin/flow · GitHub