Hi Erwin,

 It's not really well documented :-(
 Here is the algorithm :

 If 
        maven.site.deploy.live = true
        or maven.site.stage.username is empty
 Then :
        The username is defined in the property : maven.username
 Else
        The username is defined in the property : maven.site.stage.username

 If 
        maven.site.deploy.live = true
        or maven.site.stage.address is empty
 Then :
        The host is defined in the property : pom.siteAddress (in your 
project.xml file)
 Else
        The host is defined in the property : maven.site.stage.address

 If 
        maven.site.deploy.live = true
        or maven.site.stage.directory is empty
 Then :
        The directory (in the remote host) is defined in the property : 
pom.siteDirectory (in your project.xml file)
 Else
        The directory (in the remote host) is defined in the property : 
maven.site.stage.directory


In all casses the password is defined in maven.password :-( ( <== There's a 
little problem. If someone want open an issue to add a
property maven.site.stage.password)


Arnaud



> 
> Arnaud,
> 
> Perfect, that seems to work. I think I still have an 
> authorization issue but I will dig into that, or is there a 
> special way to specify username and password for the 
> deployment as well?
> 
> Thanks,
> 
> Erwin
> 
> site:ftpdeploy:
>     [ftp] sending files
> 
> BUILD FAILED
> File...... D:\Documents and 
> Settings\Erwin\.maven\cache\maven-site-plugin-1.6.1\plugin.jelly
> Element... ftp
> Line...... 141
> Column.... 36
> could not put file: 425 Failed to establish connection.
> 
> Thanks,
> 
> Erwin
> 
> > -----Original Message-----
> > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, August 28, 2005 7:29 PM
> > To: 'Maven Users List'
> > Subject: RE: [m1.1] Can't get ftp deployment to work
> > 
> > 
> > You should add :
> > 
> > maven.site.deploy.method = ftp
> > 
> > Arnaud
> > 
> > > -----Message d'origine-----
> > > De : Hogeweg, Erwin (GE Infrastructure)
> > [mailto:[EMAIL PROTECTED]
> > > Envoyé : dimanche 28 août 2005 23:33 À : Maven Users List Objet : 
> > > [m1.1] Can't get ftp deployment to work
> > > 
> > > All,
> > > 
> > > I am trying to deploy the site using ftp, but I can't get it 
> > > configured. The fact that ssh is being used suggests that maven 
> > > didn't recognize the ftp url.
> > > 
> > > I must be missing something but I can't figure out what it is.
> > > 
> > > Any help is highly appreciated.
> > > 
> > > Thanks,
> > > 
> > > Erwin
> > > 
> > > 
> > > This is a snippet from my build.properties (not over ridden in 
> > > project.properties)...
> > > maven.repo.list=myproject
> > > maven.repo.myproject=ftp://webserver
> > > maven.repo.myproject.directory=website
> > > 
> > > ... and this is the output
> > > BUILD FAILED
> > > File...... D:\Documents and
> > > Settings\Erwin\.maven\cache\maven-site-plugin-1.6.1\plugin.jelly
> > > Element... exec
> > > Line...... 171
> > > Column.... 56
> > > Execute failed: java.io.IOException: CreateProcess: ssh -l 
> > > <username> sebserver "mkdir -p 
> website/myProject/anArtifact" error=2
> > > Total time   : 2 minutes 42 seconds
> > > Finished at  : Sunday, August 28, 2005 5:18:17 PM EDT
> > > 
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > 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]
> > 
> > 
> 
> ---------------------------------------------------------------------
> 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