You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jan Torben Heuer <jt...@mail2003.dnsalias.org> on 2008/07/15 11:07:48 UTC
how to resolve conflicts? (xerces)
Hi, I have a conflict in my classpath, I think it caused by:
[INFO] org.n52.swe.sas:sas-muse:war:3.0-SNAPSHOT
[INFO] +- muse.osgi-bundles:muse-complete:jar:2.2.0:compile
[INFO] | +- muse:muse-util-xml:jar:2.2.0:compile
[INFO] | | \- xerces:xercesImpl:jar:2.8.1:compile
^^^^^^^^
[INFO] +- commons-jxpath:commons-jxpath:jar:1.2:compile
[INFO] | +- xerces:xerces:jar:1.2.3:compile
^^^^^^^^^^^^^^^^^
any ideas how to solve this? I think I need the newer one, can I disable the
xerces:xerces:jar:1.2.3 without changeing the parent-dependency jxpath?
Thank,
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: how to resolve conflicts? (xerces)
Posted by Piotr Oktaba <pi...@coconet.pl>.
Hi,
You can make exclusions in dependencies, for example:
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-embedder</artifactId>
<version>2.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
</exclusion>
</exclusions>
</dependency>
...
</dependencies>
It is described here:
http://maven.apache.org/pom.html#Exclusions
Cheers,
Piotrek
On Tue, 2008-07-15 at 11:07 +0200, Jan Torben Heuer wrote:
> Hi, I have a conflict in my classpath, I think it caused by:
>
> [INFO] org.n52.swe.sas:sas-muse:war:3.0-SNAPSHOT
> [INFO] +- muse.osgi-bundles:muse-complete:jar:2.2.0:compile
> [INFO] | +- muse:muse-util-xml:jar:2.2.0:compile
> [INFO] | | \- xerces:xercesImpl:jar:2.8.1:compile
> ^^^^^^^^
> [INFO] +- commons-jxpath:commons-jxpath:jar:1.2:compile
> [INFO] | +- xerces:xerces:jar:1.2.3:compile
> ^^^^^^^^^^^^^^^^^
>
> any ideas how to solve this? I think I need the newer one, can I disable the
> xerces:xerces:jar:1.2.3 without changeing the parent-dependency jxpath?
>
> Thank,
>
> Jan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>