Hey all,

I'm trying to set up the reactor to do multi-project builds. I have a setup with 3 modules, one of which is the main project. The problem is, in my project workspace I have other projects at the same directory level which I want to ignore from the builds. Like this:

/work/module1
/work/module2
/work/mainmodule
/work/another-non-included-module

So I'm trying to use the reactor to do builds across the projects, but by default it will include the "another-non-included-module". So I'm trying to use the include/ignore parameters to maven:reactor but it doesn't seem to use these settings.

<goal name="cb:clean" prereqs="clean">
 <maven:reactor basedir="${maven.mulitproject.basedir}"
        goals="multiproject:clean"
        includes="module1/project.xml, module2/project.xml"
        excludes="mainmodule/*"
        banner="Cleaning:"
        ignoreFailures="false"/>
</goal>

Running this it tries to include another-non-included-module in the multiproject set.

By the way, maven.multiproject.basedir is set to the parent directory of all these modules.

Any ideas? I have a few other examples with similar issues.



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



Reply via email to