Hi Raphaël,

It could be that using key authentication makes the difference - I'll see if that
works for me. It seems that I have no luck on anything that involves scp
thus far with Maven.

Thanks
AW

On 6 Oct 2005, at 18:32, Raphaël Piéroni wrote:

Hi Ashley,

I have:
 <servers>
   <server>
     <id>my.snapshots</id>
     <username>user</username>
     <privateKey>/home/user/.ssh/id_dsa</privateKey>
     <passphrase>THE PASS PHRASE</passphrase>
   </server>
</server>
in my settings in ~/.m2/settings.xml.
And i have:
 <distributionManagement>
   <snapshotRepository>
     <id>my.snapshots</id>
     <name>My Snapshot Central Repository</name>
     <url>scp://HOST/WEBDIR/snapshot-repository</url>
   </snapshotRepository>
 </distributionManagement>
in my pom.xml.
I run: m2 -DupdateReleaseInfo=true install

May that helps.

Best regards,

Raphaël

Ashley Williams a écrit :


I would like to create a separate repository for deploy my artifacts and as such I've added a section in my pom:

        <distributionManagement>
                <snapshotRepository>
                        <id>agwilliams1000-repo</id>
                        <name>agwilliams1000 Repository</name>
<url>scp://myhost/~/Webroot/maven/ repository</url>
                </snapshotRepository>
        </distributionManagement>

I've also added a corresponding server tag to my settings.xml. However, when I run m2 deploy it always hangs with the message "Retrieving previous build number from agwilliams1000-repo"

I have no idea what this previous build number might be as I'm trying to upload the artifact for the first ever time. Any ideas what the problem might be? I've tried m2 -e deploy but I don't get any more information.

Thanks
AW

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

Reply via email to