I have projects/plugin/target/mypackage.jar
Then I have projects/runner/Runner.java
When I run jar tf mypackage.jar, it doesn't have some classes it relies upon. Runner.java wants to import mypackage.MyClass
When I do javac -cp '.:../plugin/target/*' Runner.java from the runner folder, it complains that some dependencies of MyClass aren't available.
My runner folder contains the appropriate JAR files. If I copy-paste those JAR files into target folder, the compilation works. Considering I'm using . in my classpath, why wouldn't the package know where to find the correct JARs?