Hello,
I am new to Maven and trying to setup some projects. What I want to do
is create a parent POM that has all the different project dependencies
included. Then for each project, I will have a project POM that will
contain the individual dependencies needed to build the project.
However,
You want to use dependencyManagement in your parent pom, then refer
to the parent in each of the children poms using parent tag.
I'm pretty sure this topic is covered in the free Maven e-book from
Devzuz and/or Sonatype. If this isn't clear enough, and you can't find
it in the e-books, let us
the dependencies are to be specified in dependencyManagement: see
http://maven.apache.org/ref/current/maven-model/maven.html
Here is an example:
http://svn.apache.org/viewvc/maven/components/trunk/pom.xml?view=markup
regards
Hervé
Le vendredi 3 août 2007, Mark Eramo a écrit :
Hello,
I am