Just an additional note on maven deployment that I've learned the
hard way, perhaps you might want to consider adding this as a note.
Maven or the Wagon deployment plugin appears to assume the local
username is the destination username, _even_ if you specify a
username property in the settings.xml.
For example, the username on my local computer is 'paulsmith',
however my remote username is psmith. I have only found it works if I
manually add '-Duser.name=psmith' to the commandline ala:
mvn deploy assembly:assembly -Duser.name=psmith
I think this is a known bug with the wagon deployment at the moment.
Paul
On 22/06/2007, at 6:55 AM, [EMAIL PROTECTED] wrote:
Author: carnold
Date: Thu Jun 21 13:55:23 2007
New Revision: 549610
URL: http://svn.apache.org/viewvc?view=rev&rev=549610
Log:
Bug 37930: Add Maven settings.xml info
Modified:
logging/log4j/branches/v1_2-branch/BUILD-INFO.txt
Modified: logging/log4j/branches/v1_2-branch/BUILD-INFO.txt
URL: http://svn.apache.org/viewvc/logging/log4j/branches/v1_2-
branch/BUILD-INFO.txt?view=diff&rev=549610&r1=549609&r2=549610
======================================================================
========
--- logging/log4j/branches/v1_2-branch/BUILD-INFO.txt (original)
+++ logging/log4j/branches/v1_2-branch/BUILD-INFO.txt Thu Jun 21
13:55:23 2007
@@ -32,3 +32,27 @@
-Dversion=1.1 -Dpackaging=jar -Dfile=~/jms1.1/lib/jms.jar
$ cd log4j
$ mvn site assembly:assembly
+
+
+If you intended to deploy jars to the repo or update the site,
+you need to copy your private keys for people.apache.org
+over to ~/.ssh and update ~/maven-2.0.6/conf/settings.xml
+to specify user name and key location.
+
+ <server>
+ <id>logging.repo</id>
+ <username>USERNAME for people.apache.org</username>
+ <privateKey>/home/ubuntu/.ssh/id_rsa</privateKey>
+ <passphrase></passphrase>
+ </server>
+ <server>
+ <id>logging.site</id>
+ <username>USERNAME for people.apache.org</username>
+ <privateKey>/home/ubuntu/.ssh/id_rsa</privateKey>
+ <passphrase></passphrase>
+ </server>
+
+You should test your ssh connection to people.apache.org before
+attempting a deployment like:
+
+$ ssh -l USERNAME people.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Paul Smith
Core Engineering Manager
Aconex
The easy way to save time and money on your project
696 Bourke Street, Melbourne,
VIC 3000, Australia
Tel: +61 3 9240 0200 Fax: +61 3 9240 0299
Email: [EMAIL PROTECTED] www.aconex.com
This email and any attachments are intended solely for the addressee.
The contents may be privileged, confidential and/or subject to
copyright or other applicable law. No confidentiality or privilege is
lost by an erroneous transmission. If you have received this e-mail
in error, please let us know by reply e-mail and delete or destroy
this mail and all copies. If you are not the intended recipient of
this message you must not disseminate, copy or take any action in
reliance on it. The sender takes no responsibility for the effect of
this message upon the recipient's computer system.