Hello,

I'd like to force a dependency to be used with a classifier.

Here is my use case :

My business domain model (project-domain) creates a second artifact with
classifier "instrumented" based on Hibernate InstrumentTask.
All my project modules depends on domain
In my webapp, I'd like to replace the base domain.jar with the instrumented
one.

Using dependencyManagement works to force a version of dependencies, but has
no effect on classifier. Is there any way to avoid multiple <exclusions> on
all modules dependencies ?

Reply via email to