What type of problem? Can you provide a stack trace by running with maven -X?




Ian Kent wrote:
I am having problem using the optional ftp task from maven.xml.
I have search the mail list and google with no luck.
Please help.

I have the following dependencies in my project.xml :

      <dependency>
         <groupId>ant</groupId>
         <artifactId>ant-optional</artifactId>
         <version>1.5.1</version>
         <url>http://jakarta.apache.org/ant/</url>
      </dependency>

      <dependency>
         <groupId>netcomponents</groupId>
         <artifactId>netcomponents</artifactId>
         <version>1.3.8a</version>
         <url>http://jakarta.apache.org/commons/net/</url>
      </dependency>

And the following in my maven.xml :

<goal name="site-ftp">
<ant:taskdef name="ftp"
classname="org.apache.tools.ant.taskdefs.optional.net.FTP" />
<ant:classpath>
<ant:path refid="maven.dependency.classpath"/>
<ant:pathelement
location="${plugin.getDependencyPath('ant:ant-optional')}"/>
<ant:pathelement
location="${plugin.getDependencyPath('netcomponents:netcomponents')}"/>
</ant:classpath>
<ant:ftp server="${maven.deploy.site.address}"
userid="${maven.deploy.site.username}"
password="${maven.deploy.site.password}"
remotedir="${maven.deploy.site.dir}"
verbose="yes"
>
<ant:fileset dir="${maven.docs.dest}"/>
</ant:ftp> </goal>





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



Reply via email to