I’m working on providing jdbc support to dbquery addon, and today I’m not able to build the add-on due to the following error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project org.openhab.binding.dbquery: Execution default-testCompile of goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile failed: Unsupported major.minor version 56.0 -> [Help 1]
As the error didn’t give any information I used the -e option and put a breakpoint where it is launched.
And I’ve seen that the problem is launched from the indriya dependency that has some classes for JAva 12 and 14.
That dependency is not used directly by the addon but it’s inherited from the openhab-addons bom.
Has anyone had that error and can give some clue of how to manage it?
The failing code is in this branch if someone wants to test:
For me, it’s reproducible by just doing