ant ftp from mave plugin works on one project but not another

2008-04-24 Thread bheath

Hi All,

Recently I found out from this forum how to get an ant ftp target to work
from maven.
I got it working one one project, but the exact same plugin did not work on
another project on another machine. 
It gave me errors as if I did not have the dependencies correct
this is the error
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error executing ant tasks

Embedded error: Could not create task or type of type: ftp.

This is the plugin


org.apache.maven.plugins
maven-antrun-plugin




ant
ant-commons-net
1.6.5


commons-net
commons-net
1.4.1
 



antrun_installer
install


   
${project.parent.parent.basedir}













  



Any thoughts on why this would work in one project but not another? 
Thanks

run








-- 
View this message in context: 
http://www.nabble.com/ant-ftp-from-mave-plugin-works-on-one-project-but-not-another-tp16863813s177p16863813.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: need to run an ANT task that uses FTP

2008-04-21 Thread bheath

Hi All,

I found this post that helped me
http://www.nabble.com/Is-there-FTP-plugin--tt8164184s177.html#a8167656

Bruce



bheath wrote:
> 
> Hi All,
> 
> I have an ant task that I am run from my pom file using the plugin
> maven-antrun-plugin.
> Recently I added another target to the ant task that runs ftp. To get ftp
> to work with just ant alone (not run through maven) I had to add a couple
> of jars to my ant/lib directory.
> 
> If I try to run my ant task through maven I get the same error I see when
> I did not have the ant libraries installed. I tried adding the files as a
> dependency in my pom but that did not help.
> 
> Is there a way to tell maven to use my installed ant when I want to run an
> ANT task from maven?
> 
> Sorry id this is a total newbie question, but I am a maven total newbie
> 
> Thanks 
> Bruce
> 

-- 
View this message in context: 
http://www.nabble.com/need-to-run-an-ANT-task-that-uses-FTP-tp16815757s177p16819664.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



need to run an ANT task that uses FTP

2008-04-21 Thread bheath

Hi All,

I have an ant task that I am run from my pom file using the plugin
maven-antrun-plugin.
Recently I added another target to the ant task that runs ftp. To get ftp to
work with just ant alone (not run through maven) I had to add a couple of
jars to my ant/lib directory.

If I try to run my ant task through maven I get the same error I see when I
did not have the ant libraries installed. I tried adding the files as a
dependency in my pom but that did not help.

Is there a way to tell maven to use my installed ant when I want to run an
ANT task from maven?

Sorry id this is a total newbie question, but I am a maven total newbie

Thanks 
Bruce
-- 
View this message in context: 
http://www.nabble.com/need-to-run-an-ANT-task-that-uses-FTP-tp16815757s177p16815757.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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