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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>