www-repository mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <brett.por...@gmail.com>
Subject Re: Maven project.properties settings
Date Sun, 22 May 2005 21:57:43 GMT
Hi Phil,

I've named them "apache" and "apachecvs". It would be good if we can
be consistent on this so you only need to set one set of properties.
It's helpful to have "apache" in the name for those that might be
deploying to other hardware with the same install.

In the sample, I usually add the required properties commented out
(.username, .privateKey). For apachecvs, I set them to their "apache"
equivalents since it is the same hardware. This just means setting 2
or 3 properties in ~/build.properties.

Here's an example (though you don't need to use distributionSite and
distributionDirectory variables):
http://svn.apache.org/viewcvs.cgi/maven/maven-1/jelly-tags/trunk/project.properties?rev=155888&view=markup

When it comes to deployment, I recommend just setting
-Dmaven.repo.list=apache on the command line.

Final thing: your maven.remote.group below should be formed as a
repository property.

Thanks for your work on this.

Cheers,
Brett

On 5/23/05, Phil Steitz <phil@steitz.com> wrote:
> We are in process of updating the j-c docs on cutting releases and I
> want to include instructions on how to release jars using maven
> jar:deploy.  I would like to add something like the following to
> build.properties.sample and refer to it in the docs.
> 
> Can someone pls verify that these settings are correct and that,
> assuming maven.repo.external.username (or internal for snapshots) is set
> on the command line or in build.properties, using maven jar:deploy will
> work given this setup.  Since we don't seem to have ssh any longer to
> www, does this mean that the "release" repo below will not work?
> 
> thx,
> 
> Phil
> 
> ######################################################################
> # Apache internal Repository
> ######################################################################
> maven.repo.internal=scp://cvs.apache.org
> maven.repo.internal.directory=/www/cvs.apache.org/repository
> maven.repo.internal.group=apcvs
> 
> ######################################################################
> # Apache Distribution Repository
> ######################################################################
> maven.repo.release=www.apache.org
> maven.repo.release.directory=/www/www.apache.org/dist/java-repository
> maven.remote.group=apcvs
> 
> ######################################################################
> # List of remote repositories to deploy artifacts to
> # Add ",release" to release to the mirrored release repo
> ######################################################################
> maven.repo.list= internal
>

Mime
View raw message