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

Ext plugin - build-ext doesn't copy resources from ext-impl

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 6.1.1 GA2
    • Fix Version/s: None
    • Component/s: Plugins
    • Labels:
      None

      Description

      WAR doesn't contain resources from ext-impl (ext-impl/classes/META-INF/*).

      Correct example by ant sdk build:

      <?xml version="1.0"?>
      
      <ext-info>
      	<servlet-context-name>tia-auth-ext</servlet-context-name>
      	<files>
      		<file>ext-impl/classes/META-INF/ext-spring.xml</file>
      		<file>ext-impl/classes/META-INF/log4j.dtd</file>
      		<file>ext-impl/classes/META-INF/portal-log4j-ext.xml</file>
      		<file>ext-impl/classes/META-INF/tia-auth-ws-client.properties</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/security/auth/PortalTiaImporterUtil.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/security/auth/TIAAuthenticator.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/security/auth/TIAUser.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/security/auth/TiaAuthUtil.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/security/exception/TiaResultCodes.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/security/exception/TiaServiceExeption.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/security/exception/package-info.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/util/DateUtil.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/util/PropsKeysTia.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/util/PropsValuesTia.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/util/package-info.class</file>
      		<file>ext-lib/portal/cxf-api-2.6.1.jar</file>
      		<file>ext-lib/portal/cxf-rt-bindings-soap-2.6.1.jar</file>
      		<file>ext-lib/portal/cxf-rt-bindings-xml-2.6.1.jar</file>
      		<file>ext-lib/portal/cxf-rt-core-2.6.1.jar</file>
      		<file>ext-lib/portal/cxf-rt-databinding-jaxb-2.6.1.jar</file>
      		<file>ext-lib/portal/cxf-rt-frontend-jaxws-2.6.1.jar</file>
      		<file>ext-lib/portal/cxf-rt-frontend-simple-2.6.1.jar</file>
      		<file>ext-lib/portal/cxf-rt-transports-http-2.6.1.jar</file>
      		<file>ext-lib/portal/cxf-rt-ws-addr-2.6.1.jar</file>
      		<file>ext-lib/portal/cxf-rt-ws-policy-2.6.1.jar</file>
      		<file>ext-lib/portal/cxf-rt-ws-security-2.6.1.jar</file>
      		<file>ext-lib/portal/neethi-3.0.2.jar</file>
      		<file>ext-lib/portal/tia-auth-ws-client-1.0.1-SNAPSHOT.jar</file>
      		<file>ext-lib/portal/tia-auth-ws-model-1.0.1-SNAPSHOT.jar</file>
      		<file>ext-lib/portal/xmlschema-core-2.0.2.jar</file>
      	</files>
      </ext-info>
      

      Maven build example:

      <ext-info>
      	<servlet-context-name>tia-auth-ext</servlet-context-name>
      	<files>
      		<file>ext-impl/classes/com/affecto/inter/portal/security/auth/PortalTiaImporterUtil.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/security/auth/TIAAuthenticator.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/security/auth/TIAUser.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/security/auth/TiaAuthUtil.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/security/exception/TiaResultCodes.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/security/exception/TiaServiceExeption.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/util/DateUtil.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/util/PropsKeysTia.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/util/PropsValuesTia.class</file>
      		<file>ext-impl/classes/com/affecto/inter/portal/util/package-info.class</file>
      		<file>ext-lib/portal/cxf-api.jar</file>
      		<file>ext-lib/portal/cxf-rt-bindings-soap.jar</file>
      		<file>ext-lib/portal/cxf-rt-bindings-xml.jar</file>
      		<file>ext-lib/portal/cxf-rt-core.jar</file>
      		<file>ext-lib/portal/cxf-rt-databinding-jaxb.jar</file>
      		<file>ext-lib/portal/cxf-rt-frontend-jaxws.jar</file>
      		<file>ext-lib/portal/cxf-rt-frontend-simple.jar</file>
      		<file>ext-lib/portal/cxf-rt-transports-http.jar</file>
      		<file>ext-lib/portal/cxf-rt-ws-addr.jar</file>
      		<file>ext-lib/portal/cxf-rt-ws-policy.jar</file>
      		<file>ext-lib/portal/cxf-rt-ws-security.jar</file>
      		<file>ext-lib/portal/neethi.jar</file>
      		<file>ext-lib/portal/tia-auth-ws-client.jar</file>
      		<file>ext-lib/portal/tia-auth-ws-model.jar</file>
      		<file>ext-lib/portal/xmlschema-core.jar</file>
                      <file>ext-web/docroot/WEB-INF/classes/portal-ext.properties</file>
      	</files>
      </ext-info>
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 12 weeks, 6 days ago

                Packages

                Version Package