You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by EJ Ciramella <ej...@upromise.com> on 2006/11/03 20:47:27 UTC

RE: maven project interdependencies

So I should have a project with just the java source and another one
that depends on that with all the web app related files (jsps/static
html/etc)?
 

-----Original Message-----
From: Wayne Fay [mailto:waynefay@gmail.com] 
Sent: Friday, November 03, 2006 2:39 PM
To: Maven Users List
Subject: Re: mave project interdependencies

You'll need to split the WAR file up into a separate WAR and JAR
project.

Basically, you can't have any cyclical dependencies.

Wayne

On 11/3/06, EJ Ciramella <ej...@upromise.com> wrote:
> I have a quick question about sub projects and when one depends on
> another.
>
> We have one project who's artifact is a war file, and another one that
> depends on the jars in this first project.
>
> How do you set this up?  Every way I've tried it still complains about
> not being able to find the classes it needs.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: maven project interdependencies

Posted by Wayne Fay <wa...@gmail.com>.
That's exactly correct. I include non-shared Java classes in WAR and
shared Java classes in what is essentially SHARED_LIB.

Then I add a dependency in WAR on SHARED_LIB etc.

Wayne

On 11/3/06, EJ Ciramella <ej...@upromise.com> wrote:
> So I should have a project with just the java source and another one
> that depends on that with all the web app related files (jsps/static
> html/etc)?
>
>
> -----Original Message-----
> From: Wayne Fay [mailto:waynefay@gmail.com]
> Sent: Friday, November 03, 2006 2:39 PM
> To: Maven Users List
> Subject: Re: mave project interdependencies
>
> You'll need to split the WAR file up into a separate WAR and JAR
> project.
>
> Basically, you can't have any cyclical dependencies.
>
> Wayne
>
> On 11/3/06, EJ Ciramella <ej...@upromise.com> wrote:
> > I have a quick question about sub projects and when one depends on
> > another.
> >
> > We have one project who's artifact is a war file, and another one that
> > depends on the jars in this first project.
> >
> > How do you set this up?  Every way I've tried it still complains about
> > not being able to find the classes it needs.
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org