Affects Version/s: 3.6.0
Fix Version/s: None
Environment:Works with Java 1.8
Fails with Java 11
Reproduced on Mac and Windows as well as in travis-ci (linux).
I have found a strange situation where maven seems to be unable to resolve transitive dependencies for a particular dependency but only in Java11+
The failing build can be found here with all the analysis:
As you can read there with all the details the error is related to a profile with
That should fire on Java11 and seems to do but as a result all dependencies are eliminated in this case what seems like a strange maven bug.
The Code to reproduce the issue locally can also be cloned from here:
(be sure to checkout this "feature/16-java-11" branch)
After building you can even reduce and reproduce the error from templates/server/target/test-classes/projects/basic/project/basic
Just "cd" there and run "mvn clean install" with Java1.8 and with Java11.