dev@glassfish.java.net

Re: Maven Expert?

From: Byron Nevins <Byron.Nevins_at_Sun.COM>
Date: Wed, 23 Apr 2008 18:29:12 -0700
Absolutely.  I deleted the target directory AND I deleted the module's jar file from the local maven repository.  That's why I was perplexed.
It's as if maven downloads a stale jar from somewhere else and then pulls out the class that is supposed to be gone.


Jason Lee wrote:
On Wed, Apr 23, 2008 at 12:48 PM, Byron Nevins <Byron.Nevins@sun.com> wrote:
I did the svn copy and then did a normal OS delete of the original file.  Then I ran maven w/o running svn again.
So the java file was not on disk -- but the class file keeps getting pulled in from somewhere.
It just seems too mysterious...

Have you issued a mvn clean?  The .class file is likely still in the target/ directory...

--
Jason Lee, SCJP
Software Architect -- Objectstream, Inc.
Mojarra and Mojarra Scales Dev Team
https://mojarra.dev.java.net
https://scales.dev.java.net
http://blogs.steeplesoft.com

-- 
Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123 - Sun Microsystems, Inc.