Hello, war:war is called during package phase, so at prepare-package phase you have nothing available. I think the war-plugin should be updated to take that into account.
A possible workaround is to bind an execution of war:exploded during the prepare-phase, then you do your stuff with antrun, and finally it is packaged using war:war. Vincent 2010/10/7 Jesse Farinacci <[email protected]> > Hi Lukas, > > On Thu, Oct 7, 2010 at 8:59 AM, Lukas Bradley > <[email protected]> wrote: > > > > I would love to use the maven-antrun-plugin, but it doesn't look like > > there is a stage where the war plugin would cede control, or allow > > something to pre-process the files that have been copied to the target > > directory. > > The prepare-package phase doesn't get you there? This was introduced > around 2.1 or so.. > > > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference > > -Jesse > > -- > There are 10 types of people in this world, those > that can read binary and those that can not. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Vincent
