> Hi there,
>
> I am using maven 2.0.8 and gwt 1.5.2 with maven plugin:
>
> <groupId>com.totsp.gwt</groupId>
> <artifactId>maven-googlewebtoolkit2-plugin</artifactId>
> <version>2.0-beta24</version>
>
I have a parent maven pom.xml that contains 2 children modules: base and
ui.
When there is a dependency defined from the "ui" module's pom.xml to
reference the "base" module:
<dependencies>
<dependency>
<groupId>${parent.groupId}</groupId>
<artifactId>${baseName}</artifactId>
<version>${parent.version}</version>
</dependency>
....
I get the following error when running "mvn install":
Unable to parse module
java.lang.NullPointerException
at
com.totsp.mavenplugin.gwt.support.GwtWebInfProcessor.getGwtServletDescri
ptors(GwtWebInfProcessor.java:151)
at
com.totsp.mavenplugin.gwt.support.GwtWebInfProcessor.<init>(GwtWebInfPro
cessor.java:106)
at
com.totsp.mavenplugin.gwt.MergeWebXmlMojo.execute(MergeWebXmlMojo.java:9
1)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:447)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278).....
When I remove the dependency, this parsing error is gone.
Any idea??
Hayward
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]