I'm trying to setup my maven build to deploy to an internal repository
and am getting an error.  I am not finding a lot of info on this while
googling.. Can anyone help point me in the right direction?

scp works from the computer on which I'm running 'mvn deploy' to the
server.  I can ssh into that box without providing a password.  id_dsa
is in the default location ~/.ssh  Though I thought ssh/scp used
id_rsa??

[INFO] Error retrieving previous build number for artifact
'fiserv.sourceone.ribs:coredao:jar': repository metadata for:
'snapshot fiserv.sourceone.ribs:coredao:1.0-SNAPSHOT' could not be
retrieved from repository: fiserv due to an error: Authentication
failed: Cannot connect. Reason: Auth fail

In pom.xml
  <distributionManagement>
    <repository>
      <id>myrepo</id>
      <name>Repo</name>
      <url>scp://10.211.55.7/maven2</url>
    </repository>
  </distributionManagement>
In settings.xml
  <server>
      <id>myrepo</id>
      <username>gakins</username>
      <passphrase>This is not a passphrase.</passphrase>
    </server>


-- 
Greg Akins

http://insomnia-consulting.org
http://www.pghcodingdojo.org
http://pittjug.dev.java.net
http://twitter.com/akinsgre
http://www.linkedin.com/in/akinsgre

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to