You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wendy Smoak <ws...@gmail.com> on 2006/06/20 05:39:36 UTC
[m2] configuring site:stage-deploy
When using 'mvn site:stage-deploy -DstagingSiteURL=...' I'm being
prompted for an scp password. How do I either
- on the command line, specify a server id so that it will use the
private key configured in settings.xml
or
- in pom.xml, configure a different url for staging (and not the
default ${project.distributionManagement.site.url}/staging)
It seems like <site> needs <stagingURL>
* http://maven.apache.org/ref/current/maven-model/maven.html
Thanks,
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] configuring site:stage-deploy
Posted by Alexandre Poitras <al...@gmail.com>.
Just to confirm, I just tried this solution and it fix the problems.
On 6/26/06, Alexandre Poitras <al...@gmail.com> wrote:
> Hi Wendy,
>
> I got this from an older mail. Maybe you have the same problem :
>
> > For anyone interested:
> > I had to set PasswordAuthentication to 'yes' in /etc/ssh/sshd_config as it
> > defaults to 'no'. Seems to be happy now.
>
> On 6/19/06, Wendy Smoak <ws...@gmail.com> wrote:
> > When using 'mvn site:stage-deploy -DstagingSiteURL=...' I'm being
> > prompted for an scp password. How do I either
> >
> > - on the command line, specify a server id so that it will use the
> > private key configured in settings.xml
> >
> > or
> >
> > - in pom.xml, configure a different url for staging (and not the
> > default ${project.distributionManagement.site.url}/staging)
> >
> > It seems like <site> needs <stagingURL>
> > * http://maven.apache.org/ref/current/maven-model/maven.html
> >
> > Thanks,
> > Wendy
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] configuring site:stage-deploy
Posted by Alexandre Poitras <al...@gmail.com>.
Hi Wendy,
I got this from an older mail. Maybe you have the same problem :
> For anyone interested:
> I had to set PasswordAuthentication to 'yes' in /etc/ssh/sshd_config as it
> defaults to 'no'. Seems to be happy now.
On 6/19/06, Wendy Smoak <ws...@gmail.com> wrote:
> When using 'mvn site:stage-deploy -DstagingSiteURL=...' I'm being
> prompted for an scp password. How do I either
>
> - on the command line, specify a server id so that it will use the
> private key configured in settings.xml
>
> or
>
> - in pom.xml, configure a different url for staging (and not the
> default ${project.distributionManagement.site.url}/staging)
>
> It seems like <site> needs <stagingURL>
> * http://maven.apache.org/ref/current/maven-model/maven.html
>
> Thanks,
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org