I have the following situation: my classpath includes the following artifacts:
1) artifactA in group com.mygroup
2) artifactA in group com.myothergroup.
Looking in DefaultClassLoaderEntriesCalculator.java on line 120 we see the following:
So in my case both artifacts are resolved as artifactA-1.0-SNAPSHOT.jar so the second one gets omitted. I have chaged to code to simply include the categoryID like this:
and it works like a charm.
You can find the patch attached. Please review it and apply.