Uploaded image for project: 'Maven Archetype Bundles'
  1. Maven Archetype Bundles
  2. MARCHETYPES-11

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Auto Closed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      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>

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: