Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Maven Portlet Archetype
-
Labels:None
-
Number of attachments :
Description
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>
Activity
Herve Boutemy
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Project | Maven Archetype [ 11095 ] | Maven Archetype Bundles [ 12090 ] |
| Key | ARCHETYPE-86 | MARCHETYPES-11 |
| Component/s | Archetypes [ 12127 ] |
Herve Boutemy
made changes -
| Fix Version/s | 1.1 [ 16474 ] | |
| Component/s | Maven Portlet Archetype [ 14429 ] |
Herve Boutemy
made changes -
| Fix Version/s | 5 [ 16859 ] | |
| Fix Version/s | 1.1 [ 16474 ] |
Anders Hammar
made changes -
| Fix Version/s | 5 [ 16859 ] |