On 1/18/06, Alessio Pace <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> is there a way to specify in my pom.xml that i don't want a certain
> artifact? I depend on some libraries, which in turn depend on something
> (which in turn depend on something) that I don't want, because I declare
> some other artifact in my pom.xml.
>
> A concrete example: I don't want that the artifact "xerces" is imported in
> my project because I declare to depend on  "xercesImpl" which ships newer
> libraries but with the same namespaces.
>
> I guess I would need an "exclude transitive dependency at all", either
> globally or from this and that artifact. I saw the <exclusions> tag, but it
> forces me to be very verbose and have exact control on what is required by a
> dependency.
>
> I hope I have been clear, and thanks in advance for any help,
>
> --
> Alessio Pace.
>
Hi Alessio,

I posted a similar question some 10 days ago. I received the following answer:

Seems to be a transitive dependency issue. Check this out:
http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-CanIdisabletransitivedependencies%3F

Which is of course not what we want.
Maybe we should submit a feature request in JIRA.

Kees

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to