www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Extra repo on nexus for testing?
Date Mon, 01 Nov 2010 10:56:02 GMT
On 31 October 2010 21:13, Benson Margulies <bimargulies@gmail.com> wrote:
> Could we please have a private-to-asf 'release' repository on
> repositories.apache.org that could be used for full dry runs? I've
> spend a fair amount of time debugging poms for release issues, and I'd
> like to be able to run the process all the way through to release
> without 'releasing' anything or even showing up in the staging repo.
>

The deploy target can easily be overridden by defining the
altDeploymentRepository property.
For example, the following will deploy to the local directory target/deploy:

mvn deploy -DaltDeploymentRepository=id::default::file:target/deploy

would that solve the problem?

If so, you can set up a profile to make it easier:

<profile>
  <id>test-deploy</id>
  <properties>
    <altDeploymentRepository>id::default::file:target/deploy</altDeploymentRepository>
  </properties>
</profile>

mvn deploy -Ptest-deploy

Mime
View raw message