Basically we achieved the following:
1.) /www/www.apache.org/dist/java-repository was pre-existing and has "apcvs" group write permissions. We tested out distributing maven artifacts to this directory with success, for example:
http://www.apache.org/dist/java-repository/commons-math/jars/
2.) because this resides in the dist directory it is mirrored at ibiblio http://www.ibiblio.org/pub/mirrors/apache/java-repository/
3.) Jason will work out the details at ibiblio to merge the contents of this directory with the maven repository at ibiblio:
http://www.ibiblio.org/maven
Now we need to begin working to have jar (and possibly other) artifacts built by maven end up in:
/www/www.apache.org/dist/java-repository
instead of having builds go to
/www/www.apache.org/dist/jakarta/commons/
For non-maven users, Jason wrote a shell script which will upload your artifact to the repository and generate an md5 shecksum for it. You need and existing apache account and be a member of the apcvs group.
Usage: deploy-jar-apache your.jar your_project_id
For the next step, I'll probibly work on getting the existing Apache project distributions located in http://www.ibiblio.org/maven replicated in our repository location so that they will show up on all mirrors in the future.
-Mark
-- Mark Diggory Software Developer Harvard MIT Data Center http://osprey.hmdc.harvard.edu
#!/bin/sh
# Deploy JAR to the repository # $1 : artifact to copy # $2 : project id ARTIFACT=$1 ID=$2 ARTIFACT_TYPE=jars REPO=cvs.apache.org DIR=/www/www.apache.org/dist/java-repository/${ID}/${ARTIFACT_TYPE} echo ${DIR} # Make sure the target directory is present. ssh $REPO "mkdir -p ${DIR}" # Copy the artifact to the repository. scp $ARTIFACT ${REPO}:${DIR} # Make sure the perms are correct. Just in case ssh $REPO "chmod 664 ${DIR}/${ARTIFACT}; chgrp apcvs ${DIR}/${ARTIFACT}; cd ${DIR}; md5 ${ARTIFACT} | sed 's/ .*$//' > ${ARTIFACT}.md5; chgrp apcvs ${ARTIFACT}.md5"
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]