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]

Reply via email to