« Return to Thread: Supplied Maven script for one or multiple portlets?

Re: Supplied Maven script for one or multiple portlets?

by Ate Douma :: Rate this Message:

Reply to Author | View in Thread

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
>

 « Return to Thread: Supplied Maven script for one or multiple portlets?