Maven Archetype Bundles
  1. Maven Archetype Bundles
  2. MARCHETYPES-11

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

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Number of attachments :
      0

      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

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Nils-Helge Garli
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: