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]

Reply via email to