Hi Pieter,

You dont have to copy the dependencies of wagon-ftp. wagon-ftp itself will do. :) And if you have a project, then I guess it is better to use deploy:deploy than deploy:deploy-file goal. deploy:deploy-file goal primarily purpose is to deploy 3rd party jars anyway.

Cheers,
-allan

Pieter Vandepitte wrote:

Thanks for the response, but none of these things work :-(
Any other ideas? even crazy ideas are welcome :)

Pieter

my $M2/lib:

commons-cli-1.0.jar
commons-net-1.4.1.jar
doxia-sink-api-1.0-alpha-7.jar
jsch-0.1.24.jar
maven-artifact-2.0.2.jar
maven-artifact-manager-2.0.2.jar
maven-core-2.0.2.jar
maven-core-2.0.2-javadoc.jar
maven-error-diagnostics-2.0.2.jar
maven-model-2.0.2.jar
maven-monitor-2.0.2.jar
maven-plugin-api-2.0.2.jar
maven-plugin-descriptor-2.0.2.jar
maven-plugin-parameter-documenter-2.0.2.jar
maven-plugin-registry-2.0.2.jar
maven-profile-2.0.2.jar
maven-project-2.0.2.jar
maven-reporting-api-2.0.2.jar
maven-repository-metadata-2.0.2.jar
maven-settings-2.0.2.jar
oro-2.0.8.jar
plexus-interactivity-api-1.0-alpha-4.jar
wagon-file-1.0-alpha-6.jar
wagon-ftp-1.0-alpha-6.jar
wagon-http-lightweight-1.0-alpha-6.jar
wagon-provider-api-1.0-alpha-6.jar
wagon-ssh-1.0-alpha-6.jar
wagon-ssh-external-1.0-alpha-6.jar



my pom:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>blackboard</groupId>
  <artifactId>cms-admin</artifactId>
  <version>7.1</version>
  <build>
    <extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-ftp</artifactId>
        <version>1.0-alpha-6</version>
      </extension>
    </extensions>
  </build>
</project>


Wayne Fay wrote:

Or you can just add to your pom.xml:

<build>
...
    <extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-ftp</artifactId>
        <version>1.0-alpha-3</version>
      </extension>
    </extensions>
  </build>

Check the version, there might be a newer one out by now...

Wayne


On 3/7/06, Pieter Vandepitte <[EMAIL PROTECTED]> wrote:

ok, I get the point, I also have to copy the dependencies of wagon ftp
to my $M2_HOME/lib... does this mean i have to download manually all
transitive dependencies of wagon-ftp too? :-(

Pieter

Allan Ramirez wrote:

Hi there,

You should copy first the wagon-ftp jar and commons-net jar in your
%M2_HOME%/lib

-allan

Pieter Vandepitte wrote:


Hi, I'm trying to deploy a 3rd party library to my own remote
repository, but I get the following error (see bottom mail). Is
someone familiar with this exception?
I executed with the following command
./maven-2.0.2//bin/mvn deploy:deploy-file -Dfile=/path/to/jar.jar
-DpomFile=/path/to/pom.xml -DrepositoryId=ftp-repository
-Durl=ftp://host/public_html/maven -Dversion=1.2.3
my settings.xml contains the credentials. changing ftp://host/... to
file:///tmp/maven work and ftp-wagon is not in my localRepository :(
best regards
Pieter

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'deploy'.
[INFO]
----------------------------------------------------------------------------

[INFO] Building Maven Default Project
[INFO]    task-segment: [deploy:deploy-file] (aggregator-style)
[INFO]
----------------------------------------------------------------------------

[INFO] [deploy:deploy-file]
[INFO]
----------------------------------------------------------------------------

[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------

[INFO] Error deploying artifact: Unsupported Protocol: 'ftp': Cannot
find wagon which supports the requested protocol: ftp

Component descriptor cannot be found in the component repository:
org.apache.maven.wagon.Wagonftp.
[INFO]
----------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch
[INFO]
----------------------------------------------------------------------------

[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Mar 06 16:01:17 CET 2006
[INFO] Final Memory: 3M/70M


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to