Hi Folks,

I have a question about using reactor. I want to use it to build all my
subprojects.

I have written the following maven.xml:

<project default="build"
         xmlns:reactor="reactor"
         xmlns:m="maven"
>
  
  <goal name="build">
  
    <reactor:execute
      basedir="${basedir}/env/maven"
      glob="*/project.xml"
      goals="dist"
      banner="Building"
      ignoreFailures="true"
    />
  
  </goal>
</project>

As you can see I have placed my project.xml into several directories under
/env/maven.
Maven complains about null size of project.xml. First of all I used to look
if there are xml syntax errors
in POMs, but they are okay. Secondly I began to experiment with path
structure with no luck.

Evenfull path results in the error:

<project default="build"
         xmlns:reactor="reactor"
         xmlns:m="maven"
>
  
  <goal name="build">
  
    <reactor:execute
      basedir="${basedir}"
      glob="evn/maven/web/project.xml,evn/maven/web/project.xml"
      goals="dist"
      banner="Building"
      ignoreFailures="true"
    />
  
  </goal>
</project>

The maven.xml lies in ${basedir} without any project.xml there. Is this the
error?
What did I wrong?

Regards
Toby



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to