Francois Fernandes wrote:
> 
> Did you perform a mvn clean before building your web-application? If
> not, try to invoke mvn clean before. In most cases such a behavior is
> caused due to "demon" artifacts residing in any of the target
> directories you have. Performing a clean will enforce maven to resolve
> all dependencies from scratch.
> 
> hope this helps.
> 
> Francois
> 
Thanks Francois,

I always run clean install - just to prevent against this.

Found out what the problem was - I've been symlinking webapp/WEB-INF/classes
and webapp/WEB-INF/lib to the exploded wars in the target folder.  When
making a backup copy, then restoring, my symlinks disappeared causing the
app to run like "war:inplace".

war:inplace isnt covered by the "clean" goal unfortunately.
-- 
View this message in context: 
http://www.nabble.com/Getting-old-version-of-jars-in-target-of-build.-tf4788891s177.html#a13715727
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to