Sorry, it seems, that it was my fault. I havent changed the variable - runOnlyAtExecutionRoot to TRUE
> ------------ Původní zpráva ------------ > Od: <[email protected]> > Předmět: how run plugin only once after build? > Datum: 01.8.2012 09:45:13 > ---------------------------------------- > 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] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
