1.5.2 should work with maven 1.0.2, the documentation is not completely accurate. I just did a successful jar:deploy using scp protocol and private key. Did you specify the maven.repo.list=apache property and the maven.repo.apache.privatekey as an absolute path?

-Lukas



Wendy Smoak wrote:
On 12/1/05, Brett Porter <[EMAIL PROTECTED]> wrote:


Just use the "artifact" deployment mechanism (ie, maven.repo.*, not
maven.repo.central).

A recent version of the artifact plugin (1.5.2 added to Maven 1.0.2,
or the version included with Maven 1.1 beta-2+) is highly recommended.


Is 1.5.2 known to work with Maven 1.0.2?  The docs say that Maven 1.1
is required.
   http://maven.apache.org/maven-1.x/reference/plugins/artifact/

I tried both 1.5.1 and 1.5.2, and I always get the following exception
from jar:deploy :

Failed to deploy to: apache Reason:
org.apache.maven.wagon.authentication.AuthenticationException: Cannot
connect. Reason: Private key was not found. You must define a private
key or a password for repo: apache

I'm sure my key is fine, because I can ssh or scp to people.apache.org
with no password.  I'll go triple-check that the path and filename of
the private key are correct in maven.repo.apache.privatekey.

Please let me know which version of the artifact plugin I should use
with Maven 1.0.2, and I'll check in my changes so one of the other
developers can try it.  Maybe it's just me.

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
______________________________________________________________________________

Lukas Theussl
TRIUMF                                  email: [EMAIL PROTECTED]
4004 Wesbrook Mall                      tel.: + 1 604 222 1047 ext. 6446
Vancouver, British Columbia             http://www.triumf.ca/people/theussl/
Canada V6T 2A3
______________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to