This is certainly not a "bug." The plugin simply does not have the functionality that you desire.
This is a feature request that should be filed in JIRA against the maven-war-plugin: http://jira.codehaus.org/browse/MWAR Actually, now that I've searched, this has already been filed: http://jira.codehaus.org/browse/MWAR-30 Wayne On 3/5/07, Lin Sun <[EMAIL PROTECTED]> wrote:
Hi, I have seeing a maven error when building a war file and web.xml is not there in the project for a purpose to test we support optional web.xml in geronimo. [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] The specified web.xml file 'E:\geronimolatest2\testsuite\webservices-test suite\jaxws-tests\jaxws-war2\src\main\webapp\WEB-INF\web.xml' does not exist [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ Seems inside maven there is a checking to check if web.xml exists... if not, stop the build war immediately. I am using maven 2.0.5. Would this be considered a bug in maven? As with Java EE 5, web.xml can be optional. Can someone shed some light on this? Please reply to both the list and my email address, thx! Lin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
