One solution would be to have the sub projects inherit from a common parent (probably where you are running your reactor from): see http://maven.apache.org/reference/project-descriptor.html#extend
You can then have the goal in the parent maven.xml that does nothing. Sub projects that want to do something overwrite the goal in their own maven.xml.
Jon Andersen wrote:
I'd like to use the reactor to execute goals across many projects, but not have the build fail when a goal does not exist. That is, if a sub-project doesn't have the required goal, just ignore that subproject and move on.
The reactor has the ignoreFailures attribute, but that doesn't work for me. I don't want to ignore goals that fail, just goals that don't exist.
Has anyone solved this before?
Thanks,
-Jon Andersen Software developer 734-260-6083 (work) 734-646-5577 (home) Digital Media Commons - Duderstadt Center University of Michigan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
