You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by nicolas de loof <ni...@gmail.com> on 2007/01/10 12:44:40 UTC

deploy to an alterntive repository

I'd like to build a project from sources and deploy a SNAPSHOT to my
corporate repository.
I have to override the project <distributionManagement>, so I've set
on command line :
-DaltDeploymentRepository=private::default::file:///myrepo

This doesn't work as I expected :

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to configure plugin parameters for:
org.apache.maven.plugins:maven-deploy-plugin:2.2.1

check that the following section of the pom.xml is present and correct:

<distributionManagement>

What's wrong ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: deploy to an alterntive repository

Posted by allan ramirez <aq...@gmail.com>.
Hi Nicolas,

Use maven-deploy-plugin 2.3

-allan

On 1/10/07, nicolas de loof <ni...@gmail.com> wrote:
>
> I'd like to build a project from sources and deploy a SNAPSHOT to my
> corporate repository.
> I have to override the project <distributionManagement>, so I've set
> on command line :
> -DaltDeploymentRepository=private::default::file:///myrepo
>
> This doesn't work as I expected :
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to configure plugin parameters for:
> org.apache.maven.plugins:maven-deploy-plugin:2.2.1
>
> check that the following section of the pom.xml is present and correct:
>
> <distributionManagement>
>
> What's wrong ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
==========================================================
- alramirez