maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rinku" <rahul.thakur.x...@gmail.com>
Subject Re: deploy:deploy-file
Date Mon, 10 Jul 2006 08:08:09 GMT
Hi,

I have meant to ask this everytime I run into similar error with wagon 
providers.

Why is it that the wagon provider lib needs to be copied to under M2 
Home? Shouldn't this be downloaded to local repo and used from there? Is 
it something to do with Classworlds' realms.

Cheers,
Rahul

----- Original Message ----- 
From: "Allan Ramirez" <aramirez@exist.com>
To: "Maven Developers List" <dev@maven.apache.org>
Sent: Tuesday, July 11, 2006 3:15 AM
Subject: Re: deploy:deploy-file


> Hi,
>
> This should be on the users mailing list. anyway, to answer your 
> question,
>
> When using deploy-deploy-file goal and encountered this error
>
> "Error deploying artifact: Unsupported Protocol: 'ftp': Cannot find 
> wagon which supports the requested protocol: ftp"
>
> You only have to place the appropriate wagon provider to your 
> %M2_HOME%/lib.
> In this case the provider needed is ftp, so we have to place the 
> wagon-ftp jar to the lib of your m2 installation.
>
> If the error description is something like
>
> "Error deploying artifact: Unsupported Protocol: 'ftp': Cannot find 
> wagon which supports the requested protocol: ftp
> org/apache/commons/net/ftp/FTP"
>
> Place also the commons-net jar to %M2_HOME%/lib.
>
>
> You can find the wagon-ftp here 
> http://www.ibiblio.org/maven2/org/apache/maven/wagon/wagon-ftp/
>
> Cheers,
> allan
>
> Marcin Maciukiewicz wrote:
>> Hi!
>>
>> I want to deploy my artifact via ftp. So this is my command:
>> mvn -e -Durl=file://ftp://some-server/root-dir/
>> -Dfile=com.company.models.util_1.2.0.jar
>> -DrepositoryId=ftp-company-snapshot -DgroupId=com.company.models
>> -DartifactId=com.company.models.util -Dversion=1.2.0-SNAPSHOT
>> -Dpackaging=jar -DgeneratePom=true deploy:deploy-file
>>
>> This the result:
>> ...
>> [INFO] ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Error deploying artifact: Unsupported Protocol: 'ftp': Cannot
>> find wagon which supports the requested protocol: ftp
>> ...
>>
>> How to register wagon for ftp transport when using command line
>> deployment as shown above?
>>
>> Thanks,
>> Marcin.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


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


Mime
View raw message