When you reference a dependency in your pom, you can exclude
some of its dependencies:
<dependency>
<groupId>...</groupId>
<artifactId>...</artifactId>
<version>...</version>
<exclusions>
<exclusion>
<groupId>..</groupId>
<artifactId>..</artifactId>
</exclusion>
...
</exclusions>
</dependency>
See
http://maven.apache.org/ref/2.0.3-SNAPSHOT/maven-model/maven.html#class_exclusion
for more informations.
On 10/18/06, dadade <[EMAIL PROTECTED]> wrote:
Hi,
I am trying to convert the Ant build script to Maven Pom. I am using
Maven-2.0.4.
In my pom.xml, I include lingo-1.0.jar because my client needs the
org.logicblaze.lingo.jms.impl.MultiplexingRequestor and
org.logicblaze.lingo.jms.Requestor.
However, when I compile it, lingo-1.0.jar requires some run-time jars. They
are:
incubator-derby:derby:jar:10.1.1.0
javax.resource:connector:jar:1.0
javax.activation:activation:jar:1.0.2
javax.mail:mail:jar:1.3.2
incubator-derby:derbynet:jar:10.1.1.0
Maven cannot find these jars (the pom files exist but not the jars) in the
ibiblio.
Where can I find these jars? Or how can I eliminate these dependencies?
Thanks
--
View this message in context:
http://www.nabble.com/Mavenize-Loan-Broker-Example-tf2464094.html#a6869250
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Cheers,
Guillaume Nodet