/[Apache-SVN]
ViewVC logotype

Revision 1760101


Jump to revision: Previous Next
Author: gboue
Date: Fri Sep 9 17:49:34 2016 UTC (7 years, 7 months ago)
Changed paths: 12
Log Message:
[MWAR-396] Check the existence of the web.xml based on the existence of particular classes

In 3.0, the default value of 'failOnMissingWebXml' was changed to be 'false'. With this fix, the default value is set to 'null' so that:
 - when the parameter is explicitly specified, it is used;
 - when it is not specified, it defaults to whether or not we can detect a Servlet 3.0 or newer environment for the web application. Such an environment does not need a web.xml since it can be written in Java.

Changed paths

Path Details
Directorymaven/plugins/trunk/maven-war-plugin/pom.xml modified , text changed
Directorymaven/plugins/trunk/maven-war-plugin/src/it/MWAR-396_no-servlet30/ added
Directorymaven/plugins/trunk/maven-war-plugin/src/it/MWAR-396_no-servlet30/invoker.properties added
Directorymaven/plugins/trunk/maven-war-plugin/src/it/MWAR-396_no-servlet30/pom.xml added
Directorymaven/plugins/trunk/maven-war-plugin/src/it/MWAR-396_servlet30/ added
Directorymaven/plugins/trunk/maven-war-plugin/src/it/MWAR-396_servlet30/pom.xml added
Directorymaven/plugins/trunk/maven-war-plugin/src/it/MWAR-396_servlet30/verify.bsh added
Directorymaven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugins/war/WarMojo.java modified , text changed
Directorymaven/plugins/trunk/maven-war-plugin/src/test/java/org/apache/maven/plugins/war/WarMojoTest.java modified , text changed
Directorymaven/plugins/trunk/maven-war-plugin/src/test/java/org/apache/maven/plugins/war/stub/JarArtifactStub.java modified , text changed
Directorymaven/plugins/trunk/maven-war-plugin/src/test/java/org/apache/maven/plugins/war/stub/MavenProjectBasicStub.java modified , text changed
Directorymaven/plugins/trunk/maven-war-plugin/src/test/resources/unit/sample_wars/javax.servlet-api-3.0.1.jar added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26