maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nicolas de loof" <nico...@apache.org>
Subject <dependencyManagement> and classifier
Date Mon, 21 Jul 2008 14:59:27 GMT
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 ?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message