maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: war:clean goal does not delete the war
Date Fri, 30 Jan 2004 04:03:03 GMT
Brian Burridge <maillist@burridge.net> wrote on 30/01/2004 09:32:57 AM:

> When I run war:clean, it removes the webapp directory, but does not
> remove the war, instead giving an error. The reason is that war:clean
> uses ${maven.war.final.name}, which gets set in war:init (not called if
> you just do war:clean.) Therefore the maven.war.final.name is null.
> 
> I have changed war:clean in my version to use ${pom.artifactId}.war
> instead of ${maven.war.final.name}, which works for my needs. I don't
> know if this is the best solution though.
> 
> Brian N. Burridge

Fixed in CVS. I made war:clean depend on war:init.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/





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


Mime
View raw message