I am building a maven2 plug-in for a plug-in framework called Java Plug-in Framework (http://jpf.sourceforge.net/). Each jpf plug-in I want to be built as it's own maven project. In the master project (partent to all the jpf plug-in projects) I would like to be able to just specify a number of plug-in folders. Every sub folder of the plug-in folders will contain a jpf plug-in project. In the current pom for maven2 you specify the sub project with the <modules> tag. Here you have to specify the path to each sub project (as I understand it).
My question is: Is there a way to add modules to the reactor programmatically from a plug-in? I have tried to add paths to the list I get from project.getModules() in the validate phase of the build lifecycle. This didn't seem to work. It seems like the reactor is run before the build lifecycle starts. How can I get a MOJO to run before the reactor? Thanks for all help Nils Fredrik Gjerull --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
