I have a fat/uber jar uber-all.jar with main-classpath created using Shadow plugin. It runs fine with java -jar as below:
java -jar uber-all.jar
Now I need to pass an external class to the class path, something like:
java -cp .:Test.class -jar uber-all.jar
It however fails with Test ClassNotFoundException. Is what I am trying to do possible/permitted with fat/uber-jar?