Packaging ends up with an error

Report shows
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project table-wrapper-api: Fatal error compiling: invalid target release: 15 -> [Help 1]
I found solution for java 14 in gh-4260.
$ cat jitpack.yml
before_install:
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
- source install-jdk.sh --feature 14
- jshell --version
But it does not work for java 15. Can you add support for openjdk15? Usual configuration way
$ cat jitpack.yml
jdk:
- openjdk14 # or openjdk15
will be best solution. Thanks!
I am in the same situation, trying to compile a java 15 project.
@vananiev , I am now with this situation.
sormuras/bach project now supposedly supports Java 15 and for what I understood Java 16, but I have not tested it yet. I'm going to try sdkman
It worked, albeit I am sure that it is a really ugly workaround.
I'm stucking in this situation too, and this one works
Most helpful comment
It worked, albeit I am sure that it is a really ugly workaround.
jitpack.ymlhttps://gitlab.com/geosales-open-source/toolbox-serialization/-/blob/b646efcee2c22a5380f5e7b58cad0ec8995316fc/jitpack.ymlensure-java-15homebrewed script: https://gitlab.com/geosales-open-source/toolbox-serialization/-/blob/b646efcee2c22a5380f5e7b58cad0ec8995316fc/ensure-java-15