I am using:

/my_project
        /commonJar_project
        /ejb_project
        /war_project
        /ear_project
/generic_j2ee_project

In my opinion Maven 2 is very flexible, you can setup your
project/parent project/child project pretty much anyway you like and if
required easily change it later by making changes to pom.xml.

Hope this helps,
Sandeep

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 04, 2006 1:19 PM
To: [email protected]
Subject: Re: trying to understand dependencies and dependencyManagement
and DIR structure


I have a build I want to create that has:

yoursos (main pom.xml)
-->ear
-->projects
    -->commonJar
    -->commonWar
    -->sequenceGenerator
    -->propertyConfigurator
    -->commonManagers
  -->servlets

I want to have some common reusable jars that get managed in the
projects 
sub project, and then I want to create a war and and ear with this
project. 
I want the common jars installed into my repo so that other projects can
use 
these as well.
Is this the proper structure I should be using to accomplish this?

And how should I set up my dependencies as there are 3 different 2nd
level 
pom\'s here. My main concern is having the version numbers of the ear
and war 
managed in 1 place instead of each pom. Should I be combining some of
the 
subprojects?





Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

HP Consulting Services (Walnut Creek, CA)



---------------------------------------------------------------------
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]



-------------------------------------------------------------------------------------------
***National City made the following annotations
-------------------------------------------------------------------------------------------
This communication is a confidential and proprietary business communication.  
It is intended solely for the use of the designated recipient(s).  If this 
communication is received in error, please contact the sender and delete this 
communication.
===========================================================================================

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

Reply via email to