You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ross Simpson <si...@gmail.com> on 2009/05/14 00:52:29 UTC

Executing plugin during war plugin run

Hi,

We use the war plugin in our build process and use the overlay mechanism to
merge the contents of some other war files to create the final deliverable.

I'm looking for a way to insert some steps that will run (as a maven plugin)
during the war plugin -- specifically, after the overlay steps have all
happened, but before the actual war file is created.  Is there a way to do
this?  I've read through the archive and online docs to no avail.

The goal is to generate a properties-style file with a list of each file in
the war and it's checksum value, then place that file in META-INF/.  The
only other idea I had (since I couldn't find a way to do this as described)
was to take the resulting war file, unpack, generate the list, then
repackage.

Does anyone know if what I'm asking is possible, and if so, the mechanism
for running "in the middle" of another plugin?

Thanks,
Ross



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org