compiler uses Jar instead of target/classes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

compiler uses Jar instead of target/classes

Tibor Digana
 I have a problem with maven-compiler-plugin in multimodule project where
the Jar files appear in classpath and not target/classes. Module B depends
on A but A uses maven-shade-plugin to relocate Shared Utils dependency in A.
Suddenly B fails because cannot find relocated packages of Shared Utils.
The compiler uses A.jar instead of A/target/classes.

Cheers
Tibor17