[jboss-dev] jbossxb at 2.0.0-SNAPSHOT or 2.0.0.CR5

Andrew Lee Rubinger andrew.rubinger at redhat.com
Thu Mar 13 18:09:19 EDT 2008


 > Andrew Lee Rubinger wrote:
 >> Adrian Brock wrote:
 >> > What's ironic is that the only way I've managed to make
 >> > Maven usable/stable is to blow away my whole maven repository
 >> > on a regular basis (especially before doing releases!)
 >>
 >> Have you tried using the dependency plugin to clear only the
 >> dependencies for the project you're releasing?

Scott M Stark wrote:
> If this type of processing is generally required to have useful builds, 
> can't we make it part of the default behavior? 

Sure, we can tie it into the Maven lifecycle in a top-level parent 
somewhere.  Problem is, I often get errors on the purge-local-repository 
task during re-resolution (try this on EJB3 Aggregator trunk/pom.xml). 
To avoid this I have to set -DreResolve=false.

However, if we make it a default, now we've got builds that'll take 
forever.  Pretty useful as routine maintenance, but really 
time-consuming as a default.

Scott M Stark wrote:
> I still have the 
> outstanding issue of getting source pulled down for every dependency. 
> Currently mvn artifacts that I have not built locally is useless because 
> of missing source.

Yeah, I have this problem too, makes debugging difficult.  I imagine 
this can be addressed somehow, just haven't found the solution yet.

S,
ALR




More information about the jboss-development mailing list