On 31 October 2010 21:13, Benson Margulies <[email protected]> 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