mvn clean install compiled failed with fatal error "invalid flag: --module-version"

Viewed 25

I'm very new to maven, pljava and for self learning I was following a blog to install maven. I tried the build with command mvn clean install which failed with fatal error at the step pljava.api.

Any thoughts or help would be really appreciated.

Error

Error Message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project pljava-api: Fatal error compiling: invalid flag: --module-version -> [Help 1]

0 Answers
Related