Implicitly including optional dependencies in Maven

Posted by Jon Todd on Stack Overflow See other posts from Stack Overflow or by Jon Todd
Published on 2010-01-08T02:26:28Z Indexed on 2010/04/18 19:03 UTC
Read the original article Hit count: 346

Filed under:
|
|

I have a project A which has a dependency X. Dependency X has an optional dependency Y which doens't get included in A by default. Is there a way to include Y in my POM without explicitly including it? In Ivy they have a way to essentailly say include all optional dependencies of X, does Maven have a way to do this?

© Stack Overflow or respective owner

Related posts about maven-2

Related posts about pom.xml