You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by lu...@free.fr on 2008/05/07 09:55:47 UTC
[nabla] unable to update site with maven
Hello,
I tried yesterday to update the nabla site and failed. I wanted to have the
current state of documentation published as soon as possible.
I used the command "mvn deploy" after having set up my username and private key
file in ~/.m2/settings.xml, but was asked for a password instead of my
passphrase to read the file. I even tried to put the passphrase temporarily in
my settings.xml file but this didn't change anything. Entering my password for
the people.apache.org host didn't work either. I am able to log on the host
using directly ssh and my private key. My key is an RSA key, I didn't try to set
up a DSA key yet.
Is "mvn deploy" the right command ? Does anybody have an idea of what I have
done wrong ?
Luc
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [nabla] unable to update site with maven
Posted by Luc Maisonobe <Lu...@free.fr>.
Rahul Akolkar a écrit :
> On 5/7/08, simon.kitching@chello.at <si...@chello.at> wrote:
> <snip/>
>> The nabla pom has the distribution-management set to:
>>
>> scp://people.apache.org/www/commons.apache.org/sandbox/nabla
>>
> <snap/>
>
> (ofcourse, you == [nabla] folks, in text below)
>
> Quite unrelated, but please change scp:// to ${commons.deployment.protocol}://
Done, thanks.
Luc
>
> This property defaults to scp (via commons-parent) but allows others
> like me to use different protocols.
>
> I can do this too, if you'd prefer.
>
> -Rahul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [nabla] unable to update site with maven
Posted by Rahul Akolkar <ra...@gmail.com>.
On 5/7/08, simon.kitching@chello.at <si...@chello.at> wrote:
<snip/>
>
> The nabla pom has the distribution-management set to:
>
> scp://people.apache.org/www/commons.apache.org/sandbox/nabla
>
<snap/>
(ofcourse, you == [nabla] folks, in text below)
Quite unrelated, but please change scp:// to ${commons.deployment.protocol}://
This property defaults to scp (via commons-parent) but allows others
like me to use different protocols.
I can do this too, if you'd prefer.
-Rahul
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [nabla] unable to update site with maven
Posted by "simon.kitching@chello.at" <si...@chello.at>.
luc.maisonobe@free.fr schrieb:
> Hello,
>
> I tried yesterday to update the nabla site and failed. I wanted to have the
> current state of documentation published as soon as possible.
>
> I used the command "mvn deploy" after having set up my username and private key
> file in ~/.m2/settings.xml, but was asked for a password instead of my
> passphrase to read the file. I even tried to put the passphrase temporarily in
> my settings.xml file but this didn't change anything. Entering my password for
> the people.apache.org host didn't work either. I am able to log on the host
> using directly ssh and my private key. My key is an RSA key, I didn't try to set
> up a DSA key yet.
>
> Is "mvn deploy" the right command ? Does anybody have an idea of what I have
> done wrong ?
>
If you are trying to update the nabla site, then
"mvn site-deploy"
is what you need.
The command
"mvn deploy"
will deploy the jarfiles to the repository (the snapshot repository if
the pom's version contains -SNAPSHOT, and the production repo otherwise).
Sorry, don't know why you are being prompted for a password.
The nabla pom has the distribution-management set to:
scp://people.apache.org/www/commons.apache.org/sandbox/nabla
so you need to configure login details in your ~/.m2/settings.xml which
allow scp to that location. Maybe you have the username set wrong?
Unless overridden, maven will try to use your local username as the name
to log in with. This has caught me out a few times..
Regards,
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [nabla] unable to update site with maven
Posted by Luc Maisonobe <Lu...@free.fr>.
Niall Pemberton a écrit :
> On Wed, May 7, 2008 at 12:52 PM, Niall Pemberton
> <ni...@gmail.com> wrote:
>> On Wed, May 7, 2008 at 8:55 AM, <lu...@free.fr> wrote:
>> > Hello,
>> >
>> > I tried yesterday to update the nabla site and failed. I wanted to have the
>> > current state of documentation published as soon as possible.
>> >
>> > I used the command "mvn deploy" after having set up my username and private key
>> > file in ~/.m2/settings.xml, but was asked for a password instead of my
>> > passphrase to read the file. I even tried to put the passphrase temporarily in
>> > my settings.xml file but this didn't change anything. Entering my password for
>> > the people.apache.org host didn't work either. I am able to log on the host
>> > using directly ssh and my private key. My key is an RSA key, I didn't try to set
>> > up a DSA key yet.
>> >
>> > Is "mvn deploy" the right command ? Does anybody have an idea of what I have
>> > done wrong ?
>>
>> If you can't get maven working the alternative is to just zip up the
>> docs and upload the zip file manually.
>
> I uploaded the latest nabla site - should see the changes after the next sync
Thanks a lot Niall!
This will give me some time to figure out my configuration here.
Luc
>
> Niall
>
>> Niall
>>
>> > Luc
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [nabla] unable to update site with maven
Posted by Niall Pemberton <ni...@gmail.com>.
On Wed, May 7, 2008 at 12:52 PM, Niall Pemberton
<ni...@gmail.com> wrote:
> On Wed, May 7, 2008 at 8:55 AM, <lu...@free.fr> wrote:
> > Hello,
> >
> > I tried yesterday to update the nabla site and failed. I wanted to have the
> > current state of documentation published as soon as possible.
> >
> > I used the command "mvn deploy" after having set up my username and private key
> > file in ~/.m2/settings.xml, but was asked for a password instead of my
> > passphrase to read the file. I even tried to put the passphrase temporarily in
> > my settings.xml file but this didn't change anything. Entering my password for
> > the people.apache.org host didn't work either. I am able to log on the host
> > using directly ssh and my private key. My key is an RSA key, I didn't try to set
> > up a DSA key yet.
> >
> > Is "mvn deploy" the right command ? Does anybody have an idea of what I have
> > done wrong ?
>
> If you can't get maven working the alternative is to just zip up the
> docs and upload the zip file manually.
I uploaded the latest nabla site - should see the changes after the next sync
Niall
> Niall
>
> > Luc
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [nabla] unable to update site with maven
Posted by Niall Pemberton <ni...@gmail.com>.
On Wed, May 7, 2008 at 8:55 AM, <lu...@free.fr> wrote:
> Hello,
>
> I tried yesterday to update the nabla site and failed. I wanted to have the
> current state of documentation published as soon as possible.
>
> I used the command "mvn deploy" after having set up my username and private key
> file in ~/.m2/settings.xml, but was asked for a password instead of my
> passphrase to read the file. I even tried to put the passphrase temporarily in
> my settings.xml file but this didn't change anything. Entering my password for
> the people.apache.org host didn't work either. I am able to log on the host
> using directly ssh and my private key. My key is an RSA key, I didn't try to set
> up a DSA key yet.
>
> Is "mvn deploy" the right command ? Does anybody have an idea of what I have
> done wrong ?
If you can't get maven working the alternative is to just zip up the
docs and upload the zip file manually.
Niall
> Luc
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org