You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Phillip Hellewell <ss...@gmail.com> on 2011/05/05 16:44:22 UTC
Optional dependencies based on classifier
Is there any way to toggle which dependencies are optional, based on the
classifier?
E.g., if we have these dependencies:
A -> X, Y, Z
B -> A
When B depends on A, it transitively inherits X, Y, and Z. Now let's
suppose A produces multiple zips (different classifiers) using the assembly
plugin. It would be nice to be able to specify that for a given classifier,
only a subset of X, Y, and Z are required.
Hope that makes sense. It's probably not possible, but I'm also interested
in any other ideas that come close to accomplishing it.
Thanks,
Phillip