Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-1680

Exclude unassociated XML descriptors from WAR packaging based on Maven profile

    Details

      Description

      The Liferay Faces demo/issue/test portlets sometimes contain XML descriptors that are associated with a particular server. For example, when deploying a WAR on WebLogic, it is necessary to include the WEB-INF/weblogic.xml descriptor when the WAR is packaged by the maven-war-plugin. But when deploying a WAR on Tomcat, it is not appropriate to include that descriptor.

      Since the <packagingExcludes> element takes precedence over the <packagingIncludes> element, it is necessary to take a pessimistic approach to solving this problem. That's why the title of this ticket starts with "Exclude unassociated XML descriptors ..." rather than "Include only the associated XML descriptors ..."

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  liferay-faces-2.1.3-ga4
                  liferay-faces-3.0.3-legacy-ga4
                  liferay-faces-3.0.3-ga4
                  liferay-faces-3.1.3-ga4