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
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
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