lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: svn commit: r1064010 - in /lucene/dev/nightly: hudson-lucene-solr-maven-3.x.sh hudson-lucene-solr-maven-trunk.sh
Date Thu, 27 Jan 2011 08:13:09 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message