Rahul Akolkar wrote:
On 12/29/06, Dennis Lundberg <[EMAIL PROTECTED]> wrote:
<snip/>
The idea of using a different protocol is fine by me, as long as I can
continue to use "scp" is I want to. That does seem to be the default
setting. So +1 for that.
<snap/>
scpexe (see patch at the bottom of the email -- yes, formatting will
be off) defaults to the 'scp' executable for transport.
Sorry, I wasn't being clear. I want to be able to use the "scp:"
*protocol* so that I don't need to worry about installing and
configuring an scp *executable*. The "scp:" protocol uses JSch [1] a
pure Java implementation of ssh2.
So I'm OK with adding a property for the protocol, like Jochen had in
his first patch. But without the ability to change the urls.
I'm suggesting that we have something like this:
<repository>
<id>apache.releases</id>
<name>Apache Release Distribution Repository</name>
<url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
</repository>
...
<properties>
<commons.deployment.protocol>scp</commons.deployment.protocol>
</properties>
[1] http://www.jcraft.com/jsch/
-Rahul
Index: pom.xml
===================================================================
--- pom.xml (revision 490357)
+++ pom.xml (working copy)
@@ -148,7 +148,7 @@
<repository>
<id>apache.releases</id>
<name>Apache Release Distribution Repository</name>
-
<url>scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
+
<url>scpexe://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
</repository>
</distributionManagement>
<build>
@@ -187,7 +187,7 @@
<repository>
<id>apache.snapshots</id>
<name>Apache Development Snapshot Repository</name>
-
<url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
+
<url>scpexe://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
</repository>
</distributionManagement>
<build>
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]