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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: