[
https://issues.apache.org/jira/browse/MWAR-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15477883#comment-15477883
]
Hudson commented on MWAR-396:
-----------------------------
SUCCESS: Integrated in Jenkins build maven-plugins #7213 (See
[https://builds.apache.org/job/maven-plugins/7213/])
[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. (gboue:
[http://svn.apache.org/viewvc/?view=rev&rev=1760101])
* (edit) maven-war-plugin/pom.xml
* (add) maven-war-plugin/src/it/MWAR-396_no-servlet30
* (add) maven-war-plugin/src/it/MWAR-396_no-servlet30/invoker.properties
* (add) maven-war-plugin/src/it/MWAR-396_no-servlet30/pom.xml
* (add) maven-war-plugin/src/it/MWAR-396_servlet30
* (add) maven-war-plugin/src/it/MWAR-396_servlet30/pom.xml
* (add) maven-war-plugin/src/it/MWAR-396_servlet30/verify.bsh
* (edit)
maven-war-plugin/src/main/java/org/apache/maven/plugins/war/WarMojo.java
* (edit)
maven-war-plugin/src/test/java/org/apache/maven/plugins/war/WarMojoTest.java
* (edit)
maven-war-plugin/src/test/java/org/apache/maven/plugins/war/stub/JarArtifactStub.java
* (edit)
maven-war-plugin/src/test/java/org/apache/maven/plugins/war/stub/MavenProjectBasicStub.java
* (add)
maven-war-plugin/src/test/resources/unit/sample_wars/javax.servlet-api-3.0.1.jar
> Check the existence of the web.xml based on the existence of particular
> classes
> -------------------------------------------------------------------------------
>
> Key: MWAR-396
> URL: https://issues.apache.org/jira/browse/MWAR-396
> Project: Maven WAR Plugin
> Issue Type: New Feature
> Affects Versions: 3.0.0
> Reporter: Karl Heinz Marbaise
> Assignee: Guillaume Boué
> Fix For: 3.1.0
>
>
> Based on MWAR-262 we have changed the default to {{false}} but the existence
> of the {{web.xml}} should be checked based on the existence of particular
> classes? But which?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)