I am really new to this. I am trying to push my GitHub code to Heroku for a discord bot. When I push my code to Heroku, I get the error saying [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project : Fatal error compiling: invalid flag: --release -> [Help 1] I am on Java 14.0.2
This is my pom.xml and you can see the external library on left.
My preferences are all set to 14.
I have also deleted my .m2/repository. I am sorry if this has been posted before or if this is really dumb. Thank You in Advance if anyone replies.