2009/3/5 Antonio Petrelli <[email protected]>: > Hi all, > Is there a way to execute a goal just after the overlays are unpacked, > but before the final WAR is produced? > What I want to do is to modify a configuration file that is present in > a ZIP dependency, through the use of the config-processor plugin: > http://code.google.com/p/maven-config-processor-plugin/ > > I tried attaching that plugin to the "package" phase, but the WAR file > has been created before the execution of the plugin.
I solved the problem in another way. I used a combination of the Dependency plugin (goal "unpack, phase "generate-resources"), maven-config-processor-plugin (phase "generate-resources") and AntRun plugin (goal "run", phase "process-resources"). Moreover, I removed the Zip as an overlay :-( But at least it works. Thanks anyway Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
