Re: Supplied Maven script for one or multiple portlets?

Ate Douma <[email protected]> Thu, 02 Jul 2009 16:17:46 +0200
Newsgroups gmane.comp.jakarta.pluto.user
Message-ID <[email protected]>
Glen Mazza wrote:
> Hello, is the Maven script on the deploying page
> (http://portals.apache.org/pluto/v20/deploying.html) meant for just one
> portlet, or will it work for multiple portlets within the same WAR as well. 
> It's artifactId (HelloWorldPortlet) implies it should only be used for one
> portlet but the testsuite and pluto-portal WARs both contain multiple
> portlets so I'm unsure.

The artifactId of the example configuration shown should be regarded as just that: an example :)

The deployment always concerns a full portlet (web) *application*, meaning you can combine multiple portlet definitions (all defined in one 
portlet.xml) to be deployed as a single set.

It is comparable to deploying a plain web application for which you can define multiple servlets in one web.xml

Regards,

Ate

> 
> Thanks,
> Glen
>