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 19:35:14 UTC

mave project interdependencies

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.

Re: mave project interdependencies

Posted by Wayne Fay <wa...@gmail.com>.
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


Re: building sakai with maven

Posted by JW...@fhsu.edu.
Thank you, Wayne. John.




"Wayne Fay" <wa...@gmail.com> 
11/03/2006 01:30 PM
Please respond to
"Maven Users List" <us...@maven.apache.org>


To
"Maven Users List" <us...@maven.apache.org>
cc

Subject
Re: building sakai with maven






Seems like you're missing a Sakai Maven2 plugin or something.

Make sure you're following the build instructions provided by Sakai.
And if you are, you should probably contact the Sakai developers and
ask them to help you resolve this issue -- its not strictly a Maven
problem, but rather a Sakai issue.

Wayne

On 11/3/06, JWang@fhsu.edu <JW...@fhsu.edu> wrote:
> I ran into the following errors when I used maven 2 to build sakai. Does
> any one know what is wrong with settings of moven 2? Thanks!
>
> sakai-src]# mvn sakai
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Invalid task 'sakai': you must specify a valid lifecycle phase, 
or
> a goal in the format plugin:goal or
> pluginGroupId:pluginArtifactId:pluginVersion:goal
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Fri Nov 03 13:05:26 CST 2006
> [INFO] Final Memory: 1M/2M
> [INFO]
> ------------------------------------------------------------------------
>

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



Re: building sakai with maven

Posted by Wayne Fay <wa...@gmail.com>.
Seems like you're missing a Sakai Maven2 plugin or something.

Make sure you're following the build instructions provided by Sakai.
And if you are, you should probably contact the Sakai developers and
ask them to help you resolve this issue -- its not strictly a Maven
problem, but rather a Sakai issue.

Wayne

On 11/3/06, JWang@fhsu.edu <JW...@fhsu.edu> wrote:
> I ran into the following errors when I used maven 2 to build sakai. Does
> any one know what is wrong with settings of moven 2? Thanks!
>
> sakai-src]# mvn sakai
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Invalid task 'sakai': you must specify a valid lifecycle phase, or
> a goal in the format plugin:goal or
> pluginGroupId:pluginArtifactId:pluginVersion:goal
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Fri Nov 03 13:05:26 CST 2006
> [INFO] Final Memory: 1M/2M
> [INFO]
> ------------------------------------------------------------------------
>

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


building sakai with maven

Posted by JW...@fhsu.edu.
I ran into the following errors when I used maven 2 to build sakai. Does 
any one know what is wrong with settings of moven 2? Thanks!

sakai-src]# mvn sakai
[INFO] Scanning for projects...
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Invalid task 'sakai': you must specify a valid lifecycle phase, or 
a goal in the format plugin:goal or 
pluginGroupId:pluginArtifactId:pluginVersion:goal
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Fri Nov 03 13:05:26 CST 2006
[INFO] Final Memory: 1M/2M
[INFO] 
------------------------------------------------------------------------