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

                 Key: ARCHETYPE-86
                 URL: http://jira.codehaus.org/browse/ARCHETYPE-86
             Project: Maven Archetype
          Issue Type: Bug
          Components: Archetypes
            Reporter: Nils-Helge Garli


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>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to