Just fixed this in HEAD, thanks. I've placed a snapshot of the war plugin at: http://www.ibiblio.org/maven/maven/jars/maven-war-plugin-SNAPSHOT.jar
You can place this jar in $MAVEN_HOME/plugins instead of the 1.3 version. Which reminds me, we really need a plugin:download goal for the plugin plugin. -- dIon Gillard, Multitask Consulting Blog: http://www.freeroller.net/page/dion/Weblog Work: http://www.multitask.com.au "Ben Hogan" <[EMAIL PROTECTED]> wrote on 13/04/2003 11:46:32 AM: > I imagine that this is already fixed in the head, but for those of us who > downloaded the beta-9 release.... > > the new maven download (beta-9) in the war plugin uses new ant and its war > task, but does not specify update="true". > > workaround: use a pre-goal to delete the file like so (in maven.xml): > > <preGoal name="war:war"> > <delete file="${maven.war.build.dir}/${pom.artifactId}.war" /> > </preGoal> > > example of a war call that might work every time: > > <war warfile="${maven.war.build.dir}/${maven.war.final.name}" > webxml="${maven.war.webxml}" update="true" > > > Ben Hogan > [EMAIL PROTECTED] > http://beagile.com/ > > > --------------------------------------------------------------------- > 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]
