The way we share source code between projects is to put the common code in a 
jar-producing project and use the jar as a dependency in other projects.

-----Original Message-----
From: Jamie Bisotti [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 30, 2005 09:06
To: Maven Users List
Subject: Re: [m1] Sharing source code between projects?


On 8/30/05, Vincent Massol <[EMAIL PROTECTED]> wrote:
> 
> Hi Michael,
> 
> > -----Original Message-----
> > From: Michael Owen [mailto:[EMAIL PROTECTED]
> > Sent: mardi 30 août 2005 10:27
> > To: [email protected]
> > Subject: [m1] Sharing source code between projects?
> >
> > Hi,
> >
> > Firstly, I'm using Maven 1. What's the best practice for sharing source
> > code, because I need to build several different ear artifacts for the 
> same
> > project?
> 
> The best practice is to have common project(s) and then specific projects
> depending on the common project(s).
> 
> -Vincent
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
Do you really mean to say you are dependent on the "source code"? Seems like 
you would be dependent on the artifact that gets produced from building the 
common source code.

-- 
Jamie Bisotti

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

Reply via email to