Author: jvanzyl
Date: Thu May 31 21:41:15 2007
New Revision: 543387
URL: http://svn.apache.org/viewvc?view=rev&rev=543387
Log:
MNG-2737 Some doco touch ups on deploying to remote repositories
Submitted by: Thomas Fischer
Modified:
maven/site/trunk/src/site/apt/guides/getting-started/index.apt
Modified: maven/site/trunk/src/site/apt/guides/getting-started/index.apt
URL:
http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/guides/getting-started/index.apt?view=diff&rev=543387&r1=543386&r2=543387
==============================================================================
--- maven/site/trunk/src/site/apt/guides/getting-started/index.apt (original)
+++ maven/site/trunk/src/site/apt/guides/getting-started/index.apt Thu May 31
21:41:15 2007
@@ -1017,6 +1017,11 @@
* {How do I deploy my jar in my remote repository?}
+ For deploying jars to an external repository, you have to configure the
repository url in the pom.xml
+ and the authentication information for connectiong to the repository in the
settings.xml.
+
+ Here is an example using scp and username/password authentication:
+
+----+
<project xmlns="http://maven.apache.org/POM/4.0.0"
@@ -1089,6 +1094,11 @@
</settings>
+----+
+
+ Note that if you are connecting to an openssh ssh server which has the
parameter "PasswordAuthentication" set to "no"
+ in the sshd_confing, you will have to type your password each time for
username/password authentication
+ (although you can log in using another ssh client by typing in the username
and password).
+ You might want to switch to public key authentication in this case.
* {How do I create documentation?}