You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2019/01/04 17:45:00 UTC

[jira] [Created] (TOBAGO-1970) Configure web.xml listeners via JARs (for Mojarra, MyFaces, OWB, etc.)

Udo Schnurpfeil created TOBAGO-1970:
---------------------------------------

             Summary: Configure web.xml listeners via JARs (for Mojarra, MyFaces, OWB, etc.)
                 Key: TOBAGO-1970
                 URL: https://issues.apache.org/jira/browse/TOBAGO-1970
             Project: MyFaces Tobago
          Issue Type: Task
          Components: Build
            Reporter: Udo Schnurpfeil
            Assignee: Udo Schnurpfeil


Currently, there is a need sometimes to comment in/out listeners in the web.xml to run the example WAR in different application servers. With Servlet 3.0 web-fragments, we can include these configurations via a JAR. So we can build different versions via Maven profiles.
 * tobago-config-myfaces
 * tobago-config-mojarra
 * tobago-config-owb

The current was also includes override-?.xml files with hardcoded paths, which was not so nice.

With a similar JAR we can switch the demo to "Development" project stage:
 * tobago-config-dev

using mvn -Pdev



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)