struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Struts Wiki] Update of "StrutsMaintenanceMaven" by JamesMitchell
Date Fri, 07 Jul 2006 20:44:57 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification.

The following page has been changed by JamesMitchell:
http://wiki.apache.org/struts/StrutsMaintenanceMaven

The comment on the change is:
Work-around for Cygwin on Winders

------------------------------------------------------------------------------
            <id>apache-site</id>
            <username>yourid</username>
            <privateKey>/path/to/private/key</privateKey>
+           <!-- ** CYGWIN USERS ** SEE NOTE BELOW -->
         </server>
      </servers>
  
@@ -146, +147 @@

  </settings>
  }}}
  
+ 
+ __NOTE__ for Cygwin users
+ 
+ Even though you execute mvn within the cygwin shell, Maven's deployer plugin looks under
%HOMEPATH% for the known_hosts file.  If it's not found, you'll be prompted to continue.
+ 
+ {{{
+ 
+ ...blah blah
+ ...blah bhah
+ Using private key: C:\cygwin\home\myname\.ssh\id_dsa
+ The authenticity of host 'people.apache.org' can't be established.
+ DSA key fingerprint is 79:7c:cb:6a:44:47:b2:ef:5c:66:28:d7:40:0d:b1:f9.
+ Are you sure you want to continue connecting? (yes/no): yes
+ 
+ }}}
+ 
+ So, unless you don't mind being interrupted at each project and module secure copy, just
to type 'yes', you'll have to use this work-around.
+  * Create a directory ('.ssh' no quotes), which, by the way, Windows won't let you do from
Windows Explorer -- how helpful (rolling eyes), so do it from cygwin:
+ {{{
+ $mkdir /cygdrive/c/Docu<hit tab to complete>/username/.ssh
+ }}}               
+  * Copy your current known_hosts file over to where Maven can find it (you must have at
least tried to ssh into people.apace.org, and said 'yes' to adding the host for this to work)
+ {{{
+ $cp /home/username/.ssh/known_hosts /cygdrive/c/Docu<hit tab to complete>/username/.ssh/
+ }}}               
+ 
+ 
+ 
+ 
  == Snapshots ==
  
  To deploy snapshots of all framework artifacts (pom and jar, including -sources and -javadoc):

Mime
View raw message