Thanks for the tip - Interestingly enough <inherited> is valid under both <plugin> and <execution>, but only works under <plugin>.
[ worked ] <!-- parent pom --> <plugin> <artifactId>maven-antrun-plugin</artifactId> <inherited>false</inherited> <executions> <execution> <id>parent</id> <phase>generate-resources</phase> <configuration> <tasks> <echo>hello world - parent</echo> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </plugin> [ did not work ] <!-- parent pom --> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>parent</id> <phase>generate-resources</phase> <inherited>false</inherited> <configuration> <tasks> <echo>hello world - parent</echo> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </plugin> Is this a bug? -- View this message in context: http://www.nabble.com/How-to-prevent-child-pom-from-exec%27ing-parent-pom-ant-plugin-tasks-tp19060977p19077475.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
