(This is obviously a Maven issue and not a tapestry issue; but...) I'm not the Maven expert, but it might have been better to delete the entire artifact folder instead of just the jar. The only real issue with doing this is that some software (I honestly don't know which) might index the repository, and by simply deleting artifacts manually you might put the index out of sync in some undesirable way. In truth, I think the Maven team had in mind the kind of simplicity for the repo that does allow you to just remove artifacts by hand without any issue. And the only thing I've seen index the repository on me is the Codehaus Maven plugin for NetBeans: my local repo contains a ".index" folder. And even at that you could just delete the index and there would be no issue at all (plus I still just delete artifacts by hand and have never seen an issue I know of). But if you modify the contents of an artifact folder by removing just the jar you seemingly might risk downloading things that get out of sync (an issue I might have seen part of myself recently).
Removing a whole artifact should not cause any problems since Maven just finds that it's not there and then just downloads it. But there's a Maven command-line switch intended to force an update of snapshots: running with "-U" will force a check for updated snapshots. You can see more by running "mvn --help". You can also configure when Maven checks for updates in your settings descriptor or right in the project POM. See "updatePolicy" in the documentation on the settings or POM descriptor: http://maven.apache.org/settings.html http://maven.apache.org/pom.html Hope that helps. Ciao. -Steev Coco. On Fri June 8 2007 1:33:52 pm Allen Guo wrote: > I updated tapestry-core5.0.5 from SVN to Eclipse today . > But I got compilation error. The error occured at line 117 in > org.apache.tapestry.internal.test.InternalBaseTestCase.java. > The code at line 117 is > _registry.eagerLoadServices(); > The method eagerLoadServices is undefined for the type Registry. > > I found the variable _registry is a class from > tapestry-ioc-5.0.5-SNAPSHOT.jar > But I don't know how to update the tapestry-ioc-5.0.5-SNAPSHOT.jar in > local machine. > > Finally I adopted a foolish means like this, > 1. delete tapestry-ioc-5.0.5-SNAPSHOT.jar in folder C:\Documents and > Settings\guojunlong\.m2\repository\org\apache\tapestry\tapestry-ioc\5.0.5-S >NAPSHOT 2. in eclipse, right click project name then click maven2->disable > 3. in eclipse, right click project name then click maven2->enable > It's woring. that is all. > Is there any good way to do it? > > > Thanks > Allen Guo > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]