RE: maven project interdependencies

2006-11-03 Thread EJ Ciramella
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:[EMAIL PROTECTED] 
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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: maven project interdependencies

2006-11-03 Thread Wayne Fay

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 [EMAIL PROTECTED] 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:[EMAIL PROTECTED]
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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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