commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Lundberg <denn...@apache.org>
Subject Re: [commons-parent] Make deployment URL pluggable
Date Fri, 29 Dec 2006 15:31:59 GMT
Rahul Akolkar wrote:
> On 12/29/06, Dennis Lundberg <dennisl@apache.org> 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: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message