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

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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>

        Activity

        Hide
        Michael Osipov added a comment -

        This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still persists, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.

        Show
        Michael Osipov added a comment - This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still persists, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development