Christian,

As far as im aware the deploy goal deploys a snapshot, so you need a
snapshotRepository defined in your pom..

Eg:

<snapshotRepository>
                <id>scp-repository</id>
                <url>scp://192.168.100.20/var/mvn/proximity/inhouse</url>
        </snapshotRepository>

Ben

On 6/22/06, Christian Domsch <[EMAIL PROTECTED]> wrote:
Hi all,

I managed to deploy an artifact via mvn deploy using scp to ma linux
machine. But although I provided a password for the user, everytime I get
asked for a password. This is somewhat annoying. I know, that it is better
to user provate key authetication, but I think that this way at least
should work.

Am I doing sth wrong?

settings.xml:

<servers>
   <server>
     <id>someId</id>
     <username>user</username>
     <password>password</password>
   </server>
</servers>

pom.xml:

<distributionManagement>
   <repository>
     <id>someId</id>
       <name>A name</name>
       <url>scp://host/path/to/repo</url>
   </repository>
</distributionManagement>

Greetings,

Christian.

---------------------------------------------------------------------
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]

Reply via email to