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

ExtBuilderMojo excludes all META-INF from web including context.xml

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.2.0 GA1
    • Fix Version/s: None
    • Component/s: Plugins
    • Labels:
      None
    • Environment:
      Tomcat 7

      Description

      ExtBuilderMojo excludes all META-INF:

      String[] excludes = new String[] {"META-INF/**"};
      
      unpack(artifact.getFile(), webDir, excludes, null);
      

      This exclusion prevents propagation of META-INF/context.xml which is necessary for jndi based configuration during deployment. As ext-plugin deployment necessarily cleans out the destination completely before redeploying, the containers context.xml is also removed (conf/Catalina/localhost/ROOT.xml.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Days since last comment:
                4 years, 13 weeks, 1 day ago

                Packages

                Version Package