RE: Error deploying to a remote respository using scm

2008-06-05 Thread Krishnamurthi, Venkat
Hi,

I get the same error when I execute ssh2 -V on my windows XP machine:

C:\ssh2 -V
'ssh2' is not recognized as an internal or external command,
operable program or batch file.

Please help me resolve this.

Thanks,
Venkat 

-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 04, 2008 7:40 PM
To: Maven Users List
Subject: Re: Error deploying to a remote respository using scm

on XP, I use that command adn get:

*C:\opt\baselogicssh2 -V
'ssh2' is not recognized as an internal or external command, operable
program or batch file.

C:\opt\baselogicssh -V
'ssh' is not recognized as an internal or external command, operable
program or batch file.

C:\opt\baselogic
*

Then when I try to deploy with scpexe it does the same thing.



On Wed, Jun 4, 2008 at 4:36 PM, Wayne Fay [EMAIL PROTECTED] wrote:

 The stack trace says very clearly:
 Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed 
 to authenticate. (or you have too old ssh2 installed, check with ssh2 
 -V)

 So, what does ssh2 -V say?

 Wayne

 On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat 
 [EMAIL PROTECTED] wrote:
  Hi,
 
  I'm trying to deploy a snapshot jar to a remote repository. I 
  followed the instructions given here:
 
  http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-
  ssh-
  external.html
 
  However, when I execute mvn deploy, I get the following error:
 
  [INFO] [deploy:deploy]
  [INFO] Retrieving previous build number from scp_snapshot [WARNING] 
  repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
  could not be retrieved from repository: scp_snapshot due to an
error:
  Exit code: 78 - warning: Authentication failed.
  Disconnected (local); connection lost (Connection closed by remote 
  host.).
  Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed

  to authenticate. (or you have too old ssh2 installed, check with 
  ssh2 -V)
 
  [INFO] Repository 'scp_snapshot' will be blacklisted
  Uploading:
  scpexe://eqp2fcc:1080/scp_snapshot/demo/demo/1.0-SNAPSHOT/demo-1.0-S
  NAPS
  HOT.jar
  [INFO]
  
  
  [ERROR] BUILD ERROR
  [INFO]
  
   [INFO] Error deploying artifact: Error executing command for 
  transfer
 
  Exit code 74 - warning: Authentication failed.
  Disconnected (local); connection lost (Connection closed by remote 
  host.).
  Disconnect reason 10, exit code = 74
 
  My pom.xml has the following distributionManagement:
 
 
   distributionManagement
 repository
   uniqueVersionfalse/uniqueVersion
   idscp_snapshot/id
   nameSCP Snapshot Repository/name
   urlscpexe://eqp2fcc:1080/scp_snapshot/url
   layoutdefault/layout
  /repository
  /distributionManagement
 
  Also, I added the following to my settings.xml
 
   servers
 server
   idscp_snapshot/id
   usernamemy_username/username
   passwordmy_password/password
 /server
   /servers
 
  Please help me resolve this issue.
 
 
  Thanks,
  Venkat
 
  
  - To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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




--
---
Thank You...

Mick Knutson
BASE Logic, inc.

Website: http://baselogic.com
Blog: http://baselogic.com/blog
BLiNC Magazine: http://blincmagazine.com Linked IN:
http://linkedin.com/in/mickknutson
DJ Mick: http://djmick.com
MySpace: http://myspace.com/mickknutson
Tahoe: http://tahoe.baselogic.com

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



Re: Error deploying to a remote respository using scm

2008-06-05 Thread Mick Knutson
In additional to that, I am trying any way I can to deploy site docs:

I keep getting this error:
*[INFO] [site:deploy]
The authenticity of host '208.96.48.200' can't be established.
RSA key fingerprint is 15:6f:d1:60:05:21:dd:43:4b:4d:d6:9e:4f:3b:aa:e4.
Are you sure you wan*t to continue connecting? (yes/no):

I have create a ppk and key from putty, and have added this to my pom.xml

site
idsite.internal/id
namesite.internal/name
url${siteUrl}/url
/site

And here is my settings.xml

server
idsite.internal/id
username[username]/username
password[password]/password
filePermissions664/filePermissions
directoryPermissions755/directoryPermissions
privateKeyc:/ssh/internal-private.ppk/privateKey
configuration
sshExecutableplink/sshExecutable
scpExecutablepscp/scpExecutable
/configuration
/server

...

siteUrlscp://208.0.50.1/:/var/www/html/site/siteUrl

I have spent all day on this, and can't find anything that fixes this issue.




On Thu, Jun 5, 2008 at 6:49 AM, Krishnamurthi, Venkat 
[EMAIL PROTECTED] wrote:

 Hi,

 I get the same error when I execute ssh2 -V on my windows XP machine:

 C:\ssh2 -V
 'ssh2' is not recognized as an internal or external command,
 operable program or batch file.

 Please help me resolve this.

 Thanks,
 Venkat

 -Original Message-
 From: Mick Knutson [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 04, 2008 7:40 PM
 To: Maven Users List
 Subject: Re: Error deploying to a remote respository using scm

 on XP, I use that command adn get:

 *C:\opt\baselogicssh2 -V
 'ssh2' is not recognized as an internal or external command, operable
 program or batch file.

 C:\opt\baselogicssh -V
 'ssh' is not recognized as an internal or external command, operable
 program or batch file.

 C:\opt\baselogic
 *

 Then when I try to deploy with scpexe it does the same thing.



 On Wed, Jun 4, 2008 at 4:36 PM, Wayne Fay [EMAIL PROTECTED] wrote:

  The stack trace says very clearly:
  Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed
  to authenticate. (or you have too old ssh2 installed, check with ssh2
  -V)
 
  So, what does ssh2 -V say?
 
  Wayne
 
  On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat
  [EMAIL PROTECTED] wrote:
   Hi,
  
   I'm trying to deploy a snapshot jar to a remote repository. I
   followed the instructions given here:
  
   http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-
   ssh-
   external.html
  
   However, when I execute mvn deploy, I get the following error:
  
   [INFO] [deploy:deploy]
   [INFO] Retrieving previous build number from scp_snapshot [WARNING]
   repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
   could not be retrieved from repository: scp_snapshot due to an
 error:
   Exit code: 78 - warning: Authentication failed.
   Disconnected (local); connection lost (Connection closed by remote
   host.).
   Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed

   to authenticate. (or you have too old ssh2 installed, check with
   ssh2 -V)
  
   [INFO] Repository 'scp_snapshot' will be blacklisted
   Uploading:
   scpexe://eqp2fcc:1080/scp_snapshot/demo/demo/1.0-SNAPSHOT/demo-1.0-S
   NAPS
   HOT.jar
   [INFO]
   
   
   [ERROR] BUILD ERROR
   [INFO]
   
    [INFO] Error deploying artifact: Error executing command for
   transfer
  
   Exit code 74 - warning: Authentication failed.
   Disconnected (local); connection lost (Connection closed by remote
   host.).
   Disconnect reason 10, exit code = 74
  
   My pom.xml has the following distributionManagement:
  
  
distributionManagement
  repository
uniqueVersionfalse/uniqueVersion
idscp_snapshot/id
nameSCP Snapshot Repository/name
urlscpexe://eqp2fcc:1080/scp_snapshot/url
layoutdefault/layout
   /repository
   /distributionManagement
  
   Also, I added the following to my settings.xml
  
servers
  server
idscp_snapshot/id
usernamemy_username/username
passwordmy_password/password
  /server
/servers
  
   Please help me resolve this issue.
  
  
   Thanks,
   Venkat
  
   
   - To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 ---
 Thank You...

 Mick Knutson
 BASE Logic, inc.

 Website: http://baselogic.com
 Blog: http://baselogic.com/blog
 BLiNC Magazine: http://blincmagazine.com Linked IN:
 http

RE: Error deploying to a remote respository using scm

2008-06-05 Thread Krishnamurthi, Venkat
There was an issue with my server path in the last case (I included port
no.). Now I removed the port number and gave the path from root. Now, I
get the following error:

[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from scp_inhouse_snapshot
[WARNING] repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
could not be retrieved from repository: scp_snapshot due to an error:
Exit code: 78 -
You are authorized to use this System for approved business purposes
only.
Use for any other purpose is prohibited. All transactional records,
reports,
e-mail, software, and other data generated by or residing upon this
System
are the property of the Company and may be used by the Company for any
purpose.
Authorized and unauthorized activities may be monitored.


Keyboard-interactive:
PAM authentication
Keyboard-interactive:
PAM authentication
Keyboard-interactive:
PAM authentication
warning: Authentication failed.
Disconnected (local); no more authentication methods available (No
further authentication methods available.).
Disconnect reason 14, exit code = 78scp: warning: ssh2 client failed to
authenticate. (or you have too old ssh2 installed, check with ssh2 -V)

[INFO] Repository 'scp_snapshot' will be blacklisted
Uploading:
scpexe://eqz2pff:/demo/maven2_repositories/scp_snapshot/demo/demo/1.0-SN
APSHOT/demo-1.0-SNAPSHOT.jar
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error deploying artifact: Error executing command for transfer

Exit code 78 -
You are authorized to use this System for approved business purposes
only.
Use for any other purpose is prohibited. All transactional records,
reports,
e-mail, software, and other data generated by or residing upon this
System
are the property of the Company and may be used by the Company for any
purpose.
Authorized and unauthorized activities may be monitored.


Keyboard-interactive:
PAM authentication
Keyboard-interactive:
PAM authentication
Keyboard-interactive:
PAM authentication
warning: Authentication failed.
Disconnected (local); no more authentication methods available (No
further authentication methods available.).
Disconnect reason 14, exit code = 78 

Thanks for your help.

Best Regards,
Venkat
-Original Message-
From: Mick Knutson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 05, 2008 9:56 AM
To: Maven Users List
Subject: Re: Error deploying to a remote respository using scm

In additional to that, I am trying any way I can to deploy site docs:

I keep getting this error:
*[INFO] [site:deploy]
The authenticity of host '208.96.48.200' can't be established.
RSA key fingerprint is 15:6f:d1:60:05:21:dd:43:4b:4d:d6:9e:4f:3b:aa:e4.
Are you sure you wan*t to continue connecting? (yes/no):

I have create a ppk and key from putty, and have added this to my
pom.xml

site
idsite.internal/id
namesite.internal/name
url${siteUrl}/url
/site

And here is my settings.xml

server
idsite.internal/id
username[username]/username
password[password]/password
filePermissions664/filePermissions
directoryPermissions755/directoryPermissions
privateKeyc:/ssh/internal-private.ppk/privateKey
configuration
sshExecutableplink/sshExecutable
scpExecutablepscp/scpExecutable
/configuration
/server

...

siteUrlscp://208.0.50.1/:/var/www/html/site/siteUrl

I have spent all day on this, and can't find anything that fixes this
issue.




On Thu, Jun 5, 2008 at 6:49 AM, Krishnamurthi, Venkat 
[EMAIL PROTECTED] wrote:

 Hi,

 I get the same error when I execute ssh2 -V on my windows XP machine:

 C:\ssh2 -V
 'ssh2' is not recognized as an internal or external command, operable 
 program or batch file.

 Please help me resolve this.

 Thanks,
 Venkat

 -Original Message-
 From: Mick Knutson [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 04, 2008 7:40 PM
 To: Maven Users List
 Subject: Re: Error deploying to a remote respository using scm

 on XP, I use that command adn get:

 *C:\opt\baselogicssh2 -V
 'ssh2' is not recognized as an internal or external command, operable 
 program or batch file.

 C:\opt\baselogicssh -V
 'ssh' is not recognized as an internal or external command, operable 
 program or batch file.

 C:\opt\baselogic
 *

 Then when I try to deploy with scpexe it does the same thing.



 On Wed, Jun 4, 2008 at 4:36 PM, Wayne Fay [EMAIL PROTECTED] wrote:

  The stack trace says very clearly:
  Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed

  to authenticate. (or you have too old ssh2 installed, check with 
  ssh2
  -V)
 
  So, what does ssh2 -V say?
 
  Wayne
 
  On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat 
  [EMAIL PROTECTED] wrote:
   Hi,
  
   I'm trying to deploy

RE: Error deploying to a remote respository using scm

2008-06-05 Thread Krishnamurthi, Venkat
This is the output of ssh2 -V:

ssh2: SSH Tectia Server 4.4.8 on i686-pc-linux-gnu
Build: 21
Crypto library version: SSH Cryptographic Library, version 1.2.6
FIPS certification mode: DISABLED
Product: SSH Tectia Server (A)
License type: commercial

Thanks,
Venkat 

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 04, 2008 7:36 PM
To: Maven Users List
Subject: Re: Error deploying to a remote respository using scm

The stack trace says very clearly:
Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to
authenticate. (or you have too old ssh2 installed, check with ssh2 -V)

So, what does ssh2 -V say?

Wayne

On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat
[EMAIL PROTECTED] wrote:
 Hi,

 I'm trying to deploy a snapshot jar to a remote repository. I followed

 the instructions given here:

 http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ss
 h-
 external.html

 However, when I execute mvn deploy, I get the following error:

 [INFO] [deploy:deploy]
 [INFO] Retrieving previous build number from scp_snapshot [WARNING] 
 repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
 could not be retrieved from repository: scp_snapshot due to an error:
 Exit code: 78 - warning: Authentication failed.
 Disconnected (local); connection lost (Connection closed by remote 
 host.).
 Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed 
 to authenticate. (or you have too old ssh2 installed, check with ssh2 
 -V)

 [INFO] Repository 'scp_snapshot' will be blacklisted
 Uploading:
 scpexe://eqp2fcc:1080/scp_snapshot/demo/demo/1.0-SNAPSHOT/demo-1.0-SNA
 PS
 HOT.jar
 [INFO]
 --
 --
 [ERROR] BUILD ERROR
 [INFO]
 --
 -- [INFO] Error deploying artifact: Error executing command for 
 transfer

 Exit code 74 - warning: Authentication failed.
 Disconnected (local); connection lost (Connection closed by remote 
 host.).
 Disconnect reason 10, exit code = 74

 My pom.xml has the following distributionManagement:


  distributionManagement
repository
  uniqueVersionfalse/uniqueVersion
  idscp_snapshot/id
  nameSCP Snapshot Repository/name
  urlscpexe://eqp2fcc:1080/scp_snapshot/url
  layoutdefault/layout
 /repository
 /distributionManagement

 Also, I added the following to my settings.xml

  servers
server
  idscp_snapshot/id
  usernamemy_username/username
  passwordmy_password/password
/server
  /servers

 Please help me resolve this issue.


 Thanks,
 Venkat

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



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


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



Re: Error deploying to a remote respository using scm

2008-06-05 Thread Mick Knutson
So I get this again:

*The authenticity of host '208.96.48.200' can't be established.
RSA key fingerprint is 15:6f:d1:60:05:21:dd:43:4b:4d:d6:9e:4f:3b:aa:e4.
Are you sure you want to continue connecting? (yes/no): y*

And I do NOT see anything in my security logs:

Jun  5 08:07:13 12825-42150 sshd[9696]: subsystem request for sftp
Jun  5 09:37:29 12825-42150 sshd[3279]: pam_unix(sshd:session):
session closed for user root
Jun  5 09:37:31 12825-42150 sshd[2493]: pam_unix(sshd:session):
session closed for user root
Jun  5 09:37:31 12825-42150 sshd[2429]: pam_unix(sshd:session):
session closed for user root

As this request I just made was at 10:14 and the access above was for root,
not admin anyways.



On Thu, Jun 5, 2008 at 7:10 AM, Krishnamurthi, Venkat 
[EMAIL PROTECTED] wrote:

 This is the output of ssh2 -V:

 ssh2: SSH Tectia Server 4.4.8 on i686-pc-linux-gnu
 Build: 21
 Crypto library version: SSH Cryptographic Library, version 1.2.6
 FIPS certification mode: DISABLED
 Product: SSH Tectia Server (A)
 License type: commercial

 Thanks,
 Venkat

 -Original Message-
 From: Wayne Fay [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 04, 2008 7:36 PM
 To: Maven Users List
 Subject: Re: Error deploying to a remote respository using scm

 The stack trace says very clearly:
 Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to
 authenticate. (or you have too old ssh2 installed, check with ssh2 -V)

 So, what does ssh2 -V say?

 Wayne

 On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat
 [EMAIL PROTECTED] wrote:
  Hi,
 
  I'm trying to deploy a snapshot jar to a remote repository. I followed

  the instructions given here:
 
  http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ss
  h-
  external.html
 
  However, when I execute mvn deploy, I get the following error:
 
  [INFO] [deploy:deploy]
  [INFO] Retrieving previous build number from scp_snapshot [WARNING]
  repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
  could not be retrieved from repository: scp_snapshot due to an error:
  Exit code: 78 - warning: Authentication failed.
  Disconnected (local); connection lost (Connection closed by remote
  host.).
  Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed
  to authenticate. (or you have too old ssh2 installed, check with ssh2
  -V)
 
  [INFO] Repository 'scp_snapshot' will be blacklisted
  Uploading:
  scpexe://eqp2fcc:1080/scp_snapshot/demo/demo/1.0-SNAPSHOT/demo-1.0-SNA
  PS
  HOT.jar
  [INFO]
  --
  --
  [ERROR] BUILD ERROR
  [INFO]
  --
  -- [INFO] Error deploying artifact: Error executing command for
  transfer
 
  Exit code 74 - warning: Authentication failed.
  Disconnected (local); connection lost (Connection closed by remote
  host.).
  Disconnect reason 10, exit code = 74
 
  My pom.xml has the following distributionManagement:
 
 
   distributionManagement
 repository
   uniqueVersionfalse/uniqueVersion
   idscp_snapshot/id
   nameSCP Snapshot Repository/name
   urlscpexe://eqp2fcc:1080/scp_snapshot/url
   layoutdefault/layout
  /repository
  /distributionManagement
 
  Also, I added the following to my settings.xml
 
   servers
 server
   idscp_snapshot/id
   usernamemy_username/username
   passwordmy_password/password
 /server
   /servers
 
  Please help me resolve this issue.
 
 
  Thanks,
  Venkat
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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


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




-- 
---
Thank You…

Mick Knutson
BASE Logic, inc.

Website: http://baselogic.com
Blog: http://baselogic.com/blog
BLiNC Magazine: http://blincmagazine.com
Linked IN: http://linkedin.com/in/mickknutson
DJ Mick: http://djmick.com
MySpace: http://myspace.com/mickknutson
Tahoe: http://tahoe.baselogic.com


Error deploying to a remote respository using scm

2008-06-04 Thread Krishnamurthi, Venkat
Hi,

I'm trying to deploy a snapshot jar to a remote repository. I followed
the instructions given here:

http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-
external.html

However, when I execute mvn deploy, I get the following error:

[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from scp_snapshot
[WARNING] repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
could not be retrieved from repository: scp_snapshot due to an error:
Exit code: 78 - warning: Authentication failed.
Disconnected (local); connection lost (Connection closed by remote
host.).
Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to
authenticate. (or you have too old ssh2 installed, check with ssh2 -V)

[INFO] Repository 'scp_snapshot' will be blacklisted
Uploading:
scpexe://eqp2fcc:1080/scp_snapshot/demo/demo/1.0-SNAPSHOT/demo-1.0-SNAPS
HOT.jar
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error deploying artifact: Error executing command for transfer

Exit code 74 - warning: Authentication failed.
Disconnected (local); connection lost (Connection closed by remote
host.).
Disconnect reason 10, exit code = 74

My pom.xml has the following distributionManagement:


 distributionManagement
repository
  uniqueVersionfalse/uniqueVersion
  idscp_snapshot/id
  nameSCP Snapshot Repository/name
  urlscpexe://eqp2fcc:1080/scp_snapshot/url
  layoutdefault/layout
/repository
/distributionManagement

Also, I added the following to my settings.xml

  servers
server
  idscp_snapshot/id
  usernamemy_username/username
  passwordmy_password/password
/server
  /servers

Please help me resolve this issue.


Thanks,
Venkat

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



Re: Error deploying to a remote respository using scm

2008-06-04 Thread Wayne Fay
The stack trace says very clearly:
Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to
authenticate. (or you have too old ssh2 installed, check with ssh2 -V)

So, what does ssh2 -V say?

Wayne

On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat
[EMAIL PROTECTED] wrote:
 Hi,

 I'm trying to deploy a snapshot jar to a remote repository. I followed
 the instructions given here:

 http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-
 external.html

 However, when I execute mvn deploy, I get the following error:

 [INFO] [deploy:deploy]
 [INFO] Retrieving previous build number from scp_snapshot
 [WARNING] repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
 could not be retrieved from repository: scp_snapshot due to an error:
 Exit code: 78 - warning: Authentication failed.
 Disconnected (local); connection lost (Connection closed by remote
 host.).
 Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to
 authenticate. (or you have too old ssh2 installed, check with ssh2 -V)

 [INFO] Repository 'scp_snapshot' will be blacklisted
 Uploading:
 scpexe://eqp2fcc:1080/scp_snapshot/demo/demo/1.0-SNAPSHOT/demo-1.0-SNAPS
 HOT.jar
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] Error deploying artifact: Error executing command for transfer

 Exit code 74 - warning: Authentication failed.
 Disconnected (local); connection lost (Connection closed by remote
 host.).
 Disconnect reason 10, exit code = 74

 My pom.xml has the following distributionManagement:


  distributionManagement
repository
  uniqueVersionfalse/uniqueVersion
  idscp_snapshot/id
  nameSCP Snapshot Repository/name
  urlscpexe://eqp2fcc:1080/scp_snapshot/url
  layoutdefault/layout
 /repository
 /distributionManagement

 Also, I added the following to my settings.xml

  servers
server
  idscp_snapshot/id
  usernamemy_username/username
  passwordmy_password/password
/server
  /servers

 Please help me resolve this issue.


 Thanks,
 Venkat

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



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



Re: Error deploying to a remote respository using scm

2008-06-04 Thread Mick Knutson
on XP, I use that command adn get:

*C:\opt\baselogicssh2 -V
'ssh2' is not recognized as an internal or external command,
operable program or batch file.

C:\opt\baselogicssh -V
'ssh' is not recognized as an internal or external command,
operable program or batch file.

C:\opt\baselogic
*

Then when I try to deploy with scpexe it does the same thing.



On Wed, Jun 4, 2008 at 4:36 PM, Wayne Fay [EMAIL PROTECTED] wrote:

 The stack trace says very clearly:
 Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to
 authenticate. (or you have too old ssh2 installed, check with ssh2 -V)

 So, what does ssh2 -V say?

 Wayne

 On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat
 [EMAIL PROTECTED] wrote:
  Hi,
 
  I'm trying to deploy a snapshot jar to a remote repository. I followed
  the instructions given here:
 
  http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-
  external.html
 
  However, when I execute mvn deploy, I get the following error:
 
  [INFO] [deploy:deploy]
  [INFO] Retrieving previous build number from scp_snapshot
  [WARNING] repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT'
  could not be retrieved from repository: scp_snapshot due to an error:
  Exit code: 78 - warning: Authentication failed.
  Disconnected (local); connection lost (Connection closed by remote
  host.).
  Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to
  authenticate. (or you have too old ssh2 installed, check with ssh2 -V)
 
  [INFO] Repository 'scp_snapshot' will be blacklisted
  Uploading:
  scpexe://eqp2fcc:1080/scp_snapshot/demo/demo/1.0-SNAPSHOT/demo-1.0-SNAPS
  HOT.jar
  [INFO]
  
  [ERROR] BUILD ERROR
  [INFO]
  
  [INFO] Error deploying artifact: Error executing command for transfer
 
  Exit code 74 - warning: Authentication failed.
  Disconnected (local); connection lost (Connection closed by remote
  host.).
  Disconnect reason 10, exit code = 74
 
  My pom.xml has the following distributionManagement:
 
 
   distributionManagement
 repository
   uniqueVersionfalse/uniqueVersion
   idscp_snapshot/id
   nameSCP Snapshot Repository/name
   urlscpexe://eqp2fcc:1080/scp_snapshot/url
   layoutdefault/layout
  /repository
  /distributionManagement
 
  Also, I added the following to my settings.xml
 
   servers
 server
   idscp_snapshot/id
   usernamemy_username/username
   passwordmy_password/password
 /server
   /servers
 
  Please help me resolve this issue.
 
 
  Thanks,
  Venkat
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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




-- 
---
Thank You…

Mick Knutson
BASE Logic, inc.

Website: http://baselogic.com
Blog: http://baselogic.com/blog
BLiNC Magazine: http://blincmagazine.com
Linked IN: http://linkedin.com/in/mickknutson
DJ Mick: http://djmick.com
MySpace: http://myspace.com/mickknutson
Tahoe: http://tahoe.baselogic.com


RE: Remote respository

2007-08-16 Thread Mathias P.W Nilsson

Thank you all!

But if maven should upload to respository I need login because the jars is
just for internal projects not for external. And I need to reach the remote
respository from home.


-- 
View this message in context: 
http://www.nabble.com/Remote-respository-tf4273892s177.html#a12183034
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Remote respository

2007-08-15 Thread Mathias P.W Nilsson

How can I make my own remote respository that my team can use? 
I mean so that when I add a dependeny to my application the jar files are
downloaded from a remote server
-- 
View this message in context: 
http://www.nabble.com/Remote-respository-tf4273892s177.html#a12164430
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Remote respository

2007-08-15 Thread Mathias P.W Nilsson

I think I better explain this a little better :wistle:

When I have created my project with maven and I want some other programmers
to be able to use my project as a dependency, how can I accomplish this?

Local harddrive doesn't work. I probably need a server of some sort that is
exposed to the internet. but I don't know how this can be done.

// Mathias
-- 
View this message in context: 
http://www.nabble.com/Remote-respository-tf4273892s177.html#a12164966
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: Remote respository

2007-08-15 Thread Cort, Tom
You can define a repository in the distributionManagement part of pom.xml.
When you want to upload the jar file to the repository, just run mvn
deploy. In the example below, maven will upload the artifacts with scp
(secure copy) to /var/www/maven on gateway-demo.osuosl.org.

project
[...]
  distributionManagement
repository
  idrepository/id
  nameRepository/name
  urlscp://gateway-demo.osuosl.org/var/www/maven//url
/repository
  /distributionManagement
[...]
/project

To tell maven to use the repository when it looks for dependencies, add a
repository entry to pom.xml

project
[...]
  repositories
repository
  idvt-repo/id
  nameVermont Repository/name
  urlhttp://gateway-demo.osuosl.org/maven/url
  releases
enabledtrue/enabled
  /releases
/repository
  /repositories
[...]
/project

--
Tom Cort
Systems Developer
Vermont Department of Taxes


smime.p7s
Description: S/MIME cryptographic signature


Re: Remote respository

2007-08-15 Thread Wayne Fay
Most people set up what is called a Corporate Repository, which is
then shared by all Maven-using dev teams in the organization.

Among your options for implementing something like this as Proximity,
Artifactory, Archiva etc (there are more, search this list).

Wayne

On 8/15/07, Mathias P.W Nilsson [EMAIL PROTECTED] wrote:

 I think I better explain this a little better :wistle:

 When I have created my project with maven and I want some other programmers
 to be able to use my project as a dependency, how can I accomplish this?

 Local harddrive doesn't work. I probably need a server of some sort that is
 exposed to the internet. but I don't know how this can be done.

 // Mathias
 --
 View this message in context: 
 http://www.nabble.com/Remote-respository-tf4273892s177.html#a12164966
 Sent from the Maven - Users mailing list archive at Nabble.com.


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



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



Re: Remote respository

2007-08-15 Thread Steven Rowe
Hi Mathias,

In Maven parlance, what you want is called an Internal Repository.
See the Maven intro to repos for some discussion:

http://maven.apache.org/guides/introduction/introduction-to-repositories.html

Steve

Mathias P.W Nilsson wrote:
 I think I better explain this a little better :wistle:
 
 When I have created my project with maven and I want some other programmers
 to be able to use my project as a dependency, how can I accomplish this?
 
 Local harddrive doesn't work. I probably need a server of some sort that is
 exposed to the internet. but I don't know how this can be done.
 
 // Mathias


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



Maven will not switch remote respository !!!????

2004-09-08 Thread Eric Chow
Hello,

I set the properties

maven.repo.remote = http://www.bluesunrise.com/maven/,
http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
http://cvs.apache.org/repository;

in project.properties.


When the project requres some dependency library, it is not existed in
http://www.bluesunrise.com/maven/, but existed in
http://www.ibiblio.org/maven/,
but Maven never downloaded it successfully.

Finally, I switch their position, put the
http://www.ibiblio.org/maven/ in front of the
http://www.bluesunrise.com/maven/, it downloads successfully.

Is there any problem ???


Eric

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



Re: Maven will not switch remote respository !!!????

2004-09-08 Thread Brett Porter
maybe. What version of Maven? If 1.0 - file in JIRA.


On Thu, 9 Sep 2004 09:45:55 +0800, Eric Chow [EMAIL PROTECTED] wrote:
 Hello,
 
 I set the properties
 
 maven.repo.remote = http://www.bluesunrise.com/maven/,
 http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
 http://cvs.apache.org/repository;
 
 in project.properties.
 
 When the project requres some dependency library, it is not existed in
 http://www.bluesunrise.com/maven/, but existed in
 http://www.ibiblio.org/maven/,
 but Maven never downloaded it successfully.
 
 Finally, I switch their position, put the
 http://www.ibiblio.org/maven/ in front of the
 http://www.bluesunrise.com/maven/, it downloads successfully.
 
 Is there any problem ???
 
 Eric
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



Re: Maven will not switch remote respository !!!????

2004-09-08 Thread Julian C. Dunn
On Thu, 9 Sep 2004, Eric Chow wrote:

 maven.repo.remote = http://www.bluesunrise.com/maven/,
 http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
 http://cvs.apache.org/repository;

snip

 Is there any problem ???

I might be totally off on this, but try to not put a space between the 
URLs of the repos?

- Julian

-- 
Julian C. Dunn  [EMAIL PROTECTED] [EMAIL PROTECTED]
Software Developer, CBC.ca Production  Operations
Office: 2C310-I * Tel.: (416)-205-5592
PGP Key: 0xDA6A5B30 [7DCD A0C3 8B6F 6A76 F4CD 9F9B F941 A1B2 DA6A 5B30]

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