At 9:24 PM -0700 8/29/05, Don Brown wrote:
In case you missed it, I changed our validator dependency to
1.2.0-dev, which it really already was, but now it is enforced.
Since most folks don't have a commons-validator-1.2.0-dev.jar lying
around, I added my apache remote jar repository as an alternate for
Maven to retrieve from. This repository contains the validator jar
so folks don't have to checkout validator and build their own jar.
Is this ok, or is there a better way to handle this?
I would only suggest that rather than using Don's home directory, we
use the non-mirrored Apache repository:
http://cvs.apache.org/repository/
If you edit your ~/build.properties and add lines like the below
(editded for user name and private key file location) then you can use
maven jar:deploy-snapshot -Dmaven.repo.list=apache
to create a JAR and move it via SCP to the server. (Of course, if
someone were doing a regular release, they would replace 'apache'
with 'ibiblio-mirror', and of course, those names are arbitrary as
long as the values in maven.repo.list match some defined maven.repo.X
value.
I'd also suggest changing the order of "maven.repo.remote" to favor
ibiblio.org, since for non-SNAPSHOT dependencies, Maven goes in order
but stops as soon as it is satisfied. May as well minimize wasted
HTTP calls to cvs.apache.org.
Joe
#---- Properties for Maven Artifact PlugIn
#---- http://maven.apache.org/reference/plugins/artifact/properties.html
#IBiblio Mirror
maven.repo.ibiblio-mirror=scp://people.apache.org
maven.repo.ibiblio-mirror.directory=/www/www.apache.org/dist/java-repository
maven.repo.ibiblio-mirror.group=apcvs
maven.repo.ibiblio-mirror.username=germuska
maven.repo.ibiblio-mirror.privatekey=/Users/germuska/.ssh/id_rsa
# Apache repository
maven.repo.apache=scp://people.apache.org
maven.repo.apache.directory=/www/cvs.apache.org/repository
maven.repo.apache.group=apcvs
maven.repo.apache.username=germuska
maven.repo.apache.privatekey=/Users/germuska/.ssh/id_rsa
--
Joe Germuska
[EMAIL PROTECTED]
http://blog.germuska.com
"Narrow minds are weapons made for mass destruction" -The Ex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]