Pourquoi est-maven-guerre-plugin défaut pour web.xml manquant si je l'ai configuré de ne pas échouer sur manquant web.xml?

Voici un défi: pourquoi est-ce construire en train d'échouer?

J'ai configuré du Maven maven-guerre-plugin de ne pas échouer sur une abscent web.xml fichier, il me semble:

    <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <executions>
            <execution>
                <id>prepare-war</id>
                <phase>prepare-package</phase>
                <configuration>
                    <failOnMissingWebXml>false</failOnMissingWebXml>
                    <archiveClasses>false</archiveClasses>
                    <archive>
                        <manifest>
                            <addClasspath>true</addClasspath>
                            <classpathPrefix />
                        </manifest>
                        <manifestEntries>
                            <Implementation-Build>${build.number}</Implementation-Build>
                            <Implementation-Title>${project.name}</Implementation-Title>
                            <Built-By>${user.name}</Built-By>
                            <Built-OS>${os.name}</Built-OS>
                            <Build-Date>${build.date}</Build-Date>
                        </manifestEntries>
                    </archive>
                    <webResources>
                        <resource>
                            <!-- this is relative to the pom.xml directory -->
                            <directory>./target/dist</directory>
                        </resource>
                    </webResources>
                </configuration>
            </execution>
        </executions>
    </plugin>

Mais en dépit de cette configuration, il met en situation d'échec comme ceci:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.4:war (default-war) on project com.specktro.orchid.operations.portal.frontend: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode) -> [Help 1]

Je n'ai actuellement pas le web.xml, donc j'en ai besoin pour assembler la guerre sans elle.

J'ai essayé d'ajouter un faux <webXml>none</webXml> dans la config, mais ça n'a rien changé...

Ce qui me manque?

OriginalL'auteur Edy Bourne | 2014-06-18