Issue Details (XML | Word | Printable)

Key: ARCHETYPE-86
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Nils-Helge Garli
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven Archetype

maven-archetype-portlet: Wrong <portlet-class> in portlet.xml

Created: 21/Aug/07 07:03 AM   Updated: 21/Aug/07 07:03 AM
Return to search
Component/s: Archetypes
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide

The <portlet-class> element in portlet.xml generates the wrong portlet class unless you specify MyPortlet as artifactId. The errors lies in the portlet.xml template:

<portlet-class>${groupId}.${artifactId}</portlet-class>

The Class of the portlet is constant, namely MyPortlet, so it should instead say:

<portlet-class>${groupId}.MyPortlet</portlet-class>



There are no comments yet on this issue.