----- Forwarded by Michael J. Brown/JPMCHASE on 2003-10-27 15:55 -----
Michael J. Brown FORT Marketer Technology - Tel GDP 3-6359
|--------+------------------------>
|        |          Michael J.    |
|        |          Brown         |
|        |                        |
|        |          2003-10-27    |
|        |          15:52         |
|        |                        |
|--------+------------------------>
  
>--------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                      |
  |      To:     [EMAIL PROTECTED]                                                     
                               |
  |      cc:                                                                           
                                      |
  |      Subject:     Re: deploy using ftp(Document link: Michael J. Brown)            
                                      |
  
>--------------------------------------------------------------------------------------------------------------------------|



Hi,

That's fine :)

The ant-optional and commons-net will need to be in your maven lib
directory.  Also edit forehead.conf so Maven can see these jars.

The code should go into the site plugin.jelly file, not into your
maven.xml.  Then just change your maven.site.deploy.method property to ftp
and you should be away.  You need to create the directory on the server as
the plugin will not do this automatically for you.  We decided this was a
Good Thing.  The directory has the same name as your project id.

Cheers,

     Mike



|--------+------------------------>
|        |          [EMAIL PROTECTED]|
|        |          rath.ac.uk    |
|        |                        |
|        |          2003-10-27    |
|        |          15:44         |
|        |                        |
|--------+------------------------>
  
>--------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                      |
  |      To:     [EMAIL PROTECTED]                                                     
                           |
  |      cc:                                                                           
                                      |
  |      Subject:     Re: deploy using ftp                                             
                                      |
  
>--------------------------------------------------------------------------------------------------------------------------|




Hi,

Its actually this patch that I have been trying to use. How do I use it
properly? I have copied the code into my maven.xml file and I am using
ant-optional-1.5.2 and commons-net and netcomponents as dependencies but
I still
receive:
taskdef class org.apache.tools.ant.taskdefs.optional.net.FTP cannot be
found

thanks
Daniel

ps sorry if you have received this already from another address, my
webmail isn't working properly today :(


Quoting [EMAIL PROTECTED]:

 >
 > I extended the site plugin to do this - take a look:
 >
 >      http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-703
 >
 > HTH,
 >
 >      Mike
 >
--
Daniel Massie
http://www.dmassie.org.uk







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

Reply via email to