www-repository mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: [Fwd: Apache Maven Repository Location]
Date Mon, 19 Jan 2004 04:46:04 GMT
Is this just FYI or is there a message missing?
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/



Nicola Ken Barozzi <nicolaken@apache.org> wrote on 19/01/2004 06:15:02 AM:

> 
> 
> -------- Original Message --------
> Subject: Apache Maven Repository Location
> Date: Sat, 17 Jan 2004 17:21:33 -0500
> From: Mark R. Diggory <mdiggory@latte.harvard.edu>
> To: Jakarta Commons Developers List <commons-dev@jakarta.apache.org>, 
> Apache Infrastructure <infrastructure@apache.org>
> 
> Jason van Zyl and I just worked out some details for distributing a
> Apache specific maven repository to ibiblio.
> 
> 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
> 
> 
> 
> -- 
> Nicola Ken Barozzi                   nicolaken@apache.org
>              - verba volant, scripta manent -
>     (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
> #!/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"
> 


Mime
View raw message