You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "wei cai (Jira)" <ji...@apache.org> on 2021/12/05 02:17:00 UTC

[jira] [Created] (MWAR-445) Create war archive without creating exploded war

wei cai created MWAR-445:
----------------------------

             Summary: Create war archive without creating exploded war
                 Key: MWAR-445
                 URL: https://issues.apache.org/jira/browse/MWAR-445
             Project: Maven WAR Plugin
          Issue Type: Improvement
          Components: manifest
    Affects Versions: 3.3.2
            Reporter: wei cai


Currently to build a war archive, maven-war-plugin need:
 * source paths (libraries & src/main/webapp) -> exploded war -> build archive

Many files need be copied to exploded war directory.

To speed up the maven-war-plugin, I would like to propose below solution:
 * source paths (libraries & src/main/webapp) -> build archive

Here when "-Dmaven.war.exploded.skip=true" is passed, the maven-war-plugin then build the archive directly based on all source paths.

maven.war.exploded.skip is by default set as false as there might be a few cases user want an exploded war, for example:
 * Using tomcat7-maven-plugin to start exploded webapp

 

I created the PR

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)