RE: How to run a goal only for a particular project in a multimodule project ?

2009-06-29 Thread Edelson, Justin
You would have to build that logic into your plugin. You could do this with a skip parameter which would be set to true in a-maven-proj2 or by adding some code which determines that a-maven-proj2 isn't an appropriate target for the plugin. Justin -Original Message- From: ksachdeva

RE: How to run a goal only for a particular project in a multimodule project ?

2009-06-29 Thread ksachdeva
Thanks Justin, Problem is that the plugin is not written by me. Is it correct to say that this a problem with the plugin, it should have ignored the projects it does not understand !! Is it correct to say that in maven there is no way to tell that run goal for specific module in a multimodule

Re: How to run a goal only for a particular project in a multimodule project ?

2009-06-29 Thread Rusty Wright
If you specify the plugin only in the sub module then won't it only run there? For example, in my parent pom I list the plugin with pluginManagement plugins plugin groupIdorg.codehaus.mojo/groupId