What is the output of:
mvn dependency:tree
-Chris
David Weintraub [EMAIL PROTECTED]
11/04/2008 10:23
Please respond to
Maven Users List users@maven.apache.org
To
Maven Users List users@maven.apache.org
cc
Subject
Re: Dependency Relationships in EARs
Sure: Here's the POM
I've just started using Maven, and I'm struggling with a few things.
I took one our our components I build with Ant, and created a Maven
build for it. This is a set of foundation classes that several of our
projects use, so I called it foundation.jar. So far, so good, I
specified a set of JARS
The dependencies of your dependencies are called transitive dependencies.
Normally, Maven2 is able to figure out what you need and build/package
things properly. So, you must be doing something wrong to get these
results.
Can you send the 2 pom.xml files you created, 1 for foundation, and 1
for
Sure: Here's the POM for the Foundation:
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
modelVersion4.0.0/modelVersion
Whoops, this was a local repository error. I am manually doing the
repository, and copying the JARS, creating the POMs, etc. I accidently
called the POM for the foundation JAR file, foundation-0.1.xml instead
of foundation-0.1.pom and that caused the problem.
Changing the name fixed the issue.
Yep, that would do it!
Wayne
On 4/10/08, David Weintraub [EMAIL PROTECTED] wrote:
Whoops, this was a local repository error. I am manually doing the
repository, and copying the JARS, creating the POMs, etc. I accidently
called the POM for the foundation JAR file, foundation-0.1.xml instead