Hi,
It seems there is a bug with the j2ee plugin if your web.xml is empty.
Here is what I get :
"
E:\Dev\stronghold>ant maven:war
Buildfile: build.xml
maven:war:
init:
init:
Overriding previous definition of reference to maven-classpath
Trying to override old definition of task dvsl
Trying to override old definition of task jxr
Trying to override old definition of task httpget
Trying to override old definition of task change-log
Trying to override old definition of task struts10warvalidator
Trying to override old definition of task task-parser
Trying to override old definition of task project-properties
Trying to override old definition of task gump-build
Trying to override old definition of task maven-update-check
Trying to override old definition of task format-pom
Trying to override old definition of task create-xdocs
Trying to override old definition of task update-properties
Trying to override old definition of task maven-ant
Trying to override old definition of task filesetfrompath
Trying to override old definition of task update-pom-check
Trying to override old definition of task verify-project
Trying to override old definition of task warvalidator
Trying to override old definition of task reactor-generator
Trying to override old definition of task checkstyle
Trying to override old definition of task validate-pom
update-pom-check:
[update-pom-check] [WARN] Digester - -Empty stack (returning null)
callUpdateDescriptor:
project-properties:
[project-properties] [WARN] Digester - -Empty stack (returning null)
load-default-properties:
prepare.httpget:
verify-project-proxy:
verify-project-noproxy:
[verify-project] [WARN] Digester - -Empty stack (returning null)
verify-project:
local-init:
war-init:
war-error:
pre-war-callback:
BUILD FAILED
C:\apps\maven\plugins\j2ee\build.xml:87: java.lang.NullPointerException
Total time: 1 second
E:\Dev\stronghold>
"
My web.xml is :
"
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
<web-app>
<description>
Sesame Web Application
</description>
<!-- Sesame Filters. Beware the order in which the filters are defined
is very important as they will be executed in that order -->
<!-- Connection Filter -->
</web-app>
"
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>