Hello,
I have a Maven project which needs a library which is dependent on org.osgi.foundation 1.0.0. This particular project re-implements some of the java.io, java.lang etc. functionality in a very outdated way, e.g., raw Lists. I only need this project for the scope "test", but this dependency mushrooms into the main classes, making it unable for me to use List<T> or Auto-Closeable streams. Can I force individual dependencies to come from, e.g., rt.jar instead?
Regards,
Jens
I have a Maven project which needs a library which is dependent on org.osgi.foundation 1.0.0. This particular project re-implements some of the java.io, java.lang etc. functionality in a very outdated way, e.g., raw Lists. I only need this project for the scope "test", but this dependency mushrooms into the main classes, making it unable for me to use List<T> or Auto-Closeable streams. Can I force individual dependencies to come from, e.g., rt.jar instead?
Regards,
Jens