You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Eric Chow <ec...@macaucabletv.com> on 2004/06/14 03:21:04 UTC

Multi project problem ??

Hello,

I am writing some portlet application base on the Pluto testsuite.

In Maven, if I use multiproject, all the portlets are indipendent subproject
(WAR or JAR).

How can I pack all the portlets and the portal server together finally ???


the project directory structure:

---portal
---testportlet
---bookmarkportlet


The "portal" is the portal server, where the "testportlet" and
"bookmarkportlet" are the portlet web applications.

I want to pack all of them into one WAR, how can do this in Maven ??

Eric


==========================
If you know what you are doing,
it is not called RESEARCH!
==========================


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


Re: Multi project problem ??

Posted by Dan Tran <da...@hotmail.com>.
The same concept should apply.

Make your portal as the final project which depends on all other portlet
projects.
Your portal project should combine them all together in one package.
I dont know too much about pluto thou.

-Dan

----- Original Message ----- 
From: "Eric Chow" <ec...@macaucabletv.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Sunday, June 13, 2004 9:43 PM
Subject: Re: Multi project problem ??


> Hi Dan,
>
> Thanks for your message. For application like JBoss, JOnas, etc, it works
> with EAR.
>
> But how about deploys to Tomcat ??? It only support WAR!!!
>
> Eric
>
>
>
>
> ----- Original Message ----- 
> From: "Dan Tran" <da...@hotmail.com>
> To: "Maven Users List" <us...@maven.apache.org>; "Eric Chow"
> <ec...@macaucabletv.com>
> Sent: Monday, June 14, 2004 10:39 AM
> Subject: Re: Multi project problem ??
>
>
> > Eric,
> >
> > Create an ear project which depends on the pluto
> > and all other portlets.  Use multiproject plugin to
> > build the whole thing.  Details are in maven-ear-plugin
> >
> > Good luck
> >
> > -D
> > ----- Original Message ----- 
> > From: "Eric Chow" <ec...@macaucabletv.com>
> > To: "Maven Users List" <us...@maven.apache.org>
> > Sent: Sunday, June 13, 2004 6:21 PM
> > Subject: Multi project problem ??
> >
> >
> > > Hello,
> > >
> > > I am writing some portlet application base on the Pluto testsuite.
> > >
> > > In Maven, if I use multiproject, all the portlets are indipendent
> > subproject
> > > (WAR or JAR).
> > >
> > > How can I pack all the portlets and the portal server together finally
> ???
> > >
> > >
> > > the project directory structure:
> > >
> > > ---portal
> > > ---testportlet
> > > ---bookmarkportlet
> > >
> > >
> > > The "portal" is the portal server, where the "testportlet" and
> > > "bookmarkportlet" are the portlet web applications.
> > >
> > > I want to pack all of them into one WAR, how can do this in Maven ??
> > >
> > > Eric
> > >
> > >
> > > ==========================
> > > If you know what you are doing,
> > > it is not called RESEARCH!
> > > ==========================
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
>
>

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


Re: Multi project problem ??

Posted by Eric Chow <ec...@macaucabletv.com>.
Hi Dan,

Thanks for your message. For application like JBoss, JOnas, etc, it works
with EAR.

But how about deploys to Tomcat ??? It only support WAR!!!

Eric




----- Original Message ----- 
From: "Dan Tran" <da...@hotmail.com>
To: "Maven Users List" <us...@maven.apache.org>; "Eric Chow"
<ec...@macaucabletv.com>
Sent: Monday, June 14, 2004 10:39 AM
Subject: Re: Multi project problem ??


> Eric,
>
> Create an ear project which depends on the pluto
> and all other portlets.  Use multiproject plugin to
> build the whole thing.  Details are in maven-ear-plugin
>
> Good luck
>
> -D
> ----- Original Message ----- 
> From: "Eric Chow" <ec...@macaucabletv.com>
> To: "Maven Users List" <us...@maven.apache.org>
> Sent: Sunday, June 13, 2004 6:21 PM
> Subject: Multi project problem ??
>
>
> > Hello,
> >
> > I am writing some portlet application base on the Pluto testsuite.
> >
> > In Maven, if I use multiproject, all the portlets are indipendent
> subproject
> > (WAR or JAR).
> >
> > How can I pack all the portlets and the portal server together finally
???
> >
> >
> > the project directory structure:
> >
> > ---portal
> > ---testportlet
> > ---bookmarkportlet
> >
> >
> > The "portal" is the portal server, where the "testportlet" and
> > "bookmarkportlet" are the portlet web applications.
> >
> > I want to pack all of them into one WAR, how can do this in Maven ??
> >
> > Eric
> >
> >
> > ==========================
> > If you know what you are doing,
> > it is not called RESEARCH!
> > ==========================
> >
> >
> > ---------------------------------------------------------------------
> > 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


Re: Multi project problem ??

Posted by Dan Tran <da...@hotmail.com>.
Eric,

Create an ear project which depends on the pluto
and all other portlets.  Use multiproject plugin to
build the whole thing.  Details are in maven-ear-plugin

Good luck

-D
----- Original Message ----- 
From: "Eric Chow" <ec...@macaucabletv.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Sunday, June 13, 2004 6:21 PM
Subject: Multi project problem ??


> Hello,
>
> I am writing some portlet application base on the Pluto testsuite.
>
> In Maven, if I use multiproject, all the portlets are indipendent
subproject
> (WAR or JAR).
>
> How can I pack all the portlets and the portal server together finally ???
>
>
> the project directory structure:
>
> ---portal
> ---testportlet
> ---bookmarkportlet
>
>
> The "portal" is the portal server, where the "testportlet" and
> "bookmarkportlet" are the portlet web applications.
>
> I want to pack all of them into one WAR, how can do this in Maven ??
>
> Eric
>
>
> ==========================
> If you know what you are doing,
> it is not called RESEARCH!
> ==========================
>
>
> ---------------------------------------------------------------------
> 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