You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2010/05/11 23:22:13 UTC

[jira] Updated: (MARCHETYPES-11) maven-archetype-portlet: Wrong in portlet.xml

     [ http://jira.codehaus.org/browse/MARCHETYPES-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MARCHETYPES-11:
-------------------------------------

      Component/s: Maven Portlet Archetype
    Fix Version/s: 1.1

> maven-archetype-portlet: Wrong <portlet-class> in portlet.xml
> -------------------------------------------------------------
>
>                 Key: MARCHETYPES-11
>                 URL: http://jira.codehaus.org/browse/MARCHETYPES-11
>             Project: Maven Archetype Bundles
>          Issue Type: Bug
>          Components: Maven Portlet Archetype
>            Reporter: Nils-Helge Garli
>             Fix For: 1.1
>
>
> 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