Hi Steven, > +# Keep maven from downloading the entire universe if [ -d > +$SAVED_MAVEN_LOCAL_REPO ]; then > + echo ">>> Restoring the saved Maven local repo" > + # Add this when no longer done in hudson-settings.sh: > + # rm -rf $HOME/.m2/repository > + cp -Rf $SAVED_MAVEN_LOCAL_REPO $HOME/.m2/repository > + echo ">>> Done restoring the saved Maven local repo" > +else > + echo ">>> No saved Maven local repo to restore" > +fi
Do don't need to do this strange copying all the time, would it be not easier to modify hudson_settings.sh and only delete o.a.lucene/solr from the local repository? Deleting everything was just a quick hack. Also the other env vars to maven would also be good in hudson_settings.sh. Uwe --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org