Closed mavenraven closed 5 years ago
I cannot replicate the issue, it works fine for me. I cloned the repo, set JAVA_HOME
and my path to Java 9 (the project uses this version), and when I executed mvnw package
, the project was compiled and packaged correctly.
According to the stacktrace, the problem happened when running the tests. If you skip the tests (mvnw package -Dmaven.test.skip
), does it work correctly?
Ah, I'm using Java 12, that's probably the issue. Maybe add https://maven.apache.org/enforcer/enforcer-rules/requireJavaVersion.html ?
output: