I'm lost.
if I add this to the pom it does not work, however, if in A folder I call
mvn test.build.inheritance:DevelopmentPomReplicator:copy Pom is actulay
copied correctly in B and C

how should I proceed to have it automatically (automagically) been performed 
on process-resources? should I extends current life cycle ?

G. B. wrote:
> 
> in A pom I added
> <plugin>
> <inherited>true</inherited>
>       <groupId>test.build.inheritance</groupId>
>       <artifactId>DevelopmentPomReplicator</artifactId>
>       <configuration>
>               <outDir>${project.build.directory}/toto</outDir>
>       </configuration>
>               <executions>
>                       <inherited>true</inherited>
>                               <execution>
>                                       <inherited>true</inherited>
>                                       <id>pomReplicatorCopy</id>
>                                       <phase>process-resources</phase>
>                                       <goals>
>                                               <goal>copy</goal>
>                                       </goals>
>                               </execution>
>                       </executions>
>               </plugin>
> 
> did not work … only A execute it … more over I have the
> following message :
> 
> [INFO] Preparing DevelopmentPomReplicator:copy
> 
> [WARNING] Removing: copy from forked lifecycle, to prevent
> recursive invocation.
> 
--
View this message in context: 
http://www.nabble.com/Is-execution-inheritance-working--t1438786.html#a3900156
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to