Yes, I think so.

2008/8/21 gotama <[EMAIL PROTECTED]>:
>
>
> 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]
>
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to