Hello,

I've the following directory structure:

project.xml
build.properties
maven.xml
  |
  ----project1
          - project.xml

  |
  ----project2
          - project.xml


in maven.xml I have a build-all goal that executes the following:

<maven:reactor basedir="${basedir}"

includes="*/project.xml"

goals="clean"

banner="Deploying project"

ignoreFailures="false" />

The execution of the goal (maven -X build-all) results in the following exception:

D:\eclipse\workspace\Deployment Test Projekt>maven -X build-all
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

java.lang.NullPointerException
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:430)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
        at org.apache.maven.cli.App.doMain(App.java:543)
        at org.apache.maven.cli.App.main(App.java:1109)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Total time: 2 seconds
Finished at: Mon Nov 24 16:20:16 CET 2003

Any ideas what I made wrong? Is there a documentation of the reactor Tag???

Thanks.

Mirko





Reply via email to