Uploaded image for project: 'PUBLIC - Liferay Maven'
  1. PUBLIC - Liferay Maven
  2. MAVEN-76

Theme plugin packaging includes unnecessary files when the parent theme is in maven repository

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.1.20 EE GA2
    • Fix Version/s: 6.2.0 GA1
    • Component/s: Plugins
    • Labels:
      None

      Description

      Steps to reproduce:

      1. Create and install an empty parent-theme (mvn install)

      Result: ~/.m2/repository/com/liferay/themes/parent-theme/1.0-SNAPSHOT/parent-theme-1.0-SNAPSHOT.war with size 784K

      2. Create a child-theme selecting as parent the previous theme:

      <liferay.theme.parent>com.liferay.themes:parent-theme:1.0-SNAPSHOT</liferay.theme.parent>

      3. Generate the artifact child-theme-1.0-SNAPSHOT.war running "mvn install"

      Result: ~/.m2/repository/com/liferay/themes/child-theme/1.0-SNAPSHOT/child-theme-1.0-SNAPSHOT.war with size 152 MB

      Taking a look into the war, a folder named appServerPortalDir/ with all the portal libraries is included.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 30 weeks, 4 days ago

                Packages

                Version Package
                6.2.0 GA1