1. you will need <inherited>false</inherited> on the execution
2. it aint going to work

On 1 August 2012 08:44, <[email protected]> wrote:

> Hello,
> I am trying find out how to run some plugin (some aggregator) only once,
> after the build finish.
> I have tried this solution:
>
>
> http://www.sonatype.com/people/2009/05/how-to-make-a-plugin-run-once-during-a-build/
>
> but the plugin is called in every module :(
>
> this is part of my parrent pom :
>
> <plugin>
>   <groupId>xxxxx</groupId>
>     <artifactId>zzzzz</artifactId>
>     <version>1.0-SNAPSHOT</version>
>     <executions>
>         <execution>
>                 <id>execution1</id>
>                         <phase>validate</phase>
>                         <goals>
>                                 <goal>skipper</goal>
>                         </goals>
>         </execution>
>   </executions>
> </plugin>
>
> My idea is that i have generated few output files (eg. output.txt) in
> target folder during build in every module.
> Now I want after every output.txt file is generated, run one plugin, which
> will make one big final_output.txt file, that will read all the output.txt
> files and copy the content into one file.
>
> I hope its understandable...
>
> Any good hints? solutions? advices?
>
> Regards
> David
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to