You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@apache.org by sebb <se...@gmail.com> on 2010/11/01 11:56:02 UTC

Re: Extra repo on nexus for testing?

On 31 October 2010 21:13, Benson Margulies <bi...@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

Re: Extra repo on nexus for testing?

Posted by Benson Margulies <bi...@gmail.com>.
Nexus rejects things it doesn't like. The file system doesn't reject anything.


On Mon, Nov 1, 2010 at 6:56 AM, sebb <se...@gmail.com> wrote:
> On 31 October 2010 21:13, Benson Margulies <bi...@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
>