Conrad,
The short answer is to use the multi project plug-in.
   http://maven.apache.org/reference/plugins/multiproject/

Notes:
o Be sure to set the property maven.multiproject.type in
  each projects project.properties

o The "multiproject" project should be it's own project

o Review the multiproject properties used by the "multiproject" project.
 http://maven.apache.org/reference/plugins/multiproject/properties.html

Paul Spencer


[EMAIL PROTECTED] wrote:


Hi, I have a project that generates 14 artifacts that includes:

JAR
EJB-JAR
WAR
EAR

Also, some of the classes are generated at compile time.  For example, the
EJB related files as well as the JAVACC specific files.  Thus, I was wondering,
what's the best way to structure directories and define the project.xml file(s).
At this time, I have added all the dependencies to the project.xml file but it seems
that I need to top-level project.xml file that call the subprojects to generate the
artifacts.  At this time, I have an ANT build script for the project and it works
just fine.  However, I'm wanting to switch over to Maven.

Thanks in advance,

-Conrad


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to