You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ron Wheeler <rw...@artifact-software.com> on 2010/06/01 22:22:06 UTC

Maven SCM Implementation: Subversion Documentation

https://maven.apache.org/scm/subversion.html

Could someone update this page to describe
$user.home/.scm/svn-settings.xml

There is an example but no description of the parameters that can be set 
and no reference to anywhere that this is described.




I hope that I can find a place to stick a username and a password for 
the different SCM repositories that we have.

We use Subversion within Eclipse and it has its own place to stash these.

I may have to run Maven outside Eclipse to run the release plug-in and 
each person has their own username and password to access the SCM and I 
do not want to put them in the procedures.


The rest of the page is pretty cryptic as well.

Another documentation issue:
is

if false --non-interactive will not be used in the svn command line

the same as

if true --non-interactive will be used in the svn command line


The second is easier to parse but the underlying problem is the choice 
of the flag named "usenoninterative" which would be easier to follow if 
it was simply "interactive" and the values reversed.
Not a documentation problem but a case of "inside-the-beltway" thinking 
on the part of the programmer.

Ron


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven SCM Implementation: Subversion Documentation

Posted by Dennis Lundberg <de...@apache.org>.
On 2010-06-01 23:55, Ron Wheeler wrote:
> On 01/06/2010 5:18 PM, Justin Edelson wrote:
>> This shouldn't be necessary. Why isn't the default Subversion
>> credentials cache sufficient?
> Where is this documented and how is it setup? Is this in the Subversion
> project?
> We just use Eclipse.

You have to run a subversion command line command once, to put your
credentials (for that particular repo) into the cache. Try something
like this on the command line:

svn co <url-to-a-project-in-your-svn-repo>

After this maven-scm-plugin and maven-release-plugin will use the
credentials that are now stored in Subversion's own cache.



>> It handles per-repo credentials just fine
>> and IIRC is now properly encrypted on all OS's.
>>
>> Justin
>>
>>
>>
>> On 6/1/10 5:08 PM, Ron Wheeler wrote:
>>   
>>> On this site
>>> http://stackoverflow.com/questions/1255593/externalising-scm-credentials-with-maven
>>>
>>>
>>> I found this nugget of information
>>>
>>> |<svn-settings>
>>>    <user>[svn user]</user>
>>>    <password>[svn password]</password>
>>> </svn-settings>
>>>
>>> |
>>>
>>> It is not clear how you associate this username and password with a
>>> specific Subversion repo.
>>> We have several repos that we access and it would be nice to get Maven
>>> to use the right combination of username and password with each
>>> repository.
>>>
>>> Any suggestions about where to look for more details.
>>>
>>> Ron
>>> |
>>> |
>>> On 01/06/2010 4:22 PM, Ron Wheeler wrote:
>>>     
>>>> https://maven.apache.org/scm/subversion.html
>>>>
>>>> Could someone update this page to describe
>>>> $user.home/.scm/svn-settings.xml
>>>>
>>>> There is an example but no description of the parameters that can be
>>>> set and no reference to anywhere that this is described.
>>>>
>>>>
>>>>
>>>>
>>>> I hope that I can find a place to stick a username and a password for
>>>> the different SCM repositories that we have.
>>>>
>>>> We use Subversion within Eclipse and it has its own place to stash
>>>> these.
>>>>
>>>> I may have to run Maven outside Eclipse to run the release plug-in and
>>>> each person has their own username and password to access the SCM and
>>>> I do not want to put them in the procedures.
>>>>
>>>>
>>>> The rest of the page is pretty cryptic as well.
>>>>
>>>> Another documentation issue:
>>>> is
>>>>
>>>> if false --non-interactive will not be used in the svn command line
>>>>
>>>> the same as
>>>>
>>>> if true --non-interactive will be used in the svn command line
>>>>
>>>>
>>>> The second is easier to parse but the underlying problem is the choice
>>>> of the flag named "usenoninterative" which would be easier to follow
>>>> if it was simply "interactive" and the values reversed.
>>>> Not a documentation problem but a case of "inside-the-beltway"
>>>> thinking on the part of the programmer.
>>>>
>>>> Ron
>>>>
>>>>        
>>>
>>>      
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>    
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven SCM Implementation: Subversion Documentation

Posted by Justin Edelson <ju...@gmail.com>.
On 6/1/10 5:55 PM, Ron Wheeler wrote:
> On 01/06/2010 5:18 PM, Justin Edelson wrote:
>> This shouldn't be necessary. Why isn't the default Subversion
>> credentials cache sufficient?
> Where is this documented and how is it setup? Is this in the Subversion
> project?
http://svnbook.red-bean.com/en/1.5/svn.serverconfig.netmodel.html#svn.serverconfig.netmodel.credcache

You generally shouldn't have to do anything to make this work. It should
be on by default.

> We just use Eclipse.
I've used both Subclipse and Subversive with both SVNKit and JNI and
always used the credentials cache without any additional intervention.

Justin

>> It handles per-repo credentials just fine
>> and IIRC is now properly encrypted on all OS's.
>>
>> Justin
>>
>>
>>
>> On 6/1/10 5:08 PM, Ron Wheeler wrote:
>>   
>>> On this site
>>> http://stackoverflow.com/questions/1255593/externalising-scm-credentials-with-maven
>>>
>>>
>>> I found this nugget of information
>>>
>>> |<svn-settings>
>>>    <user>[svn user]</user>
>>>    <password>[svn password]</password>
>>> </svn-settings>
>>>
>>> |
>>>
>>> It is not clear how you associate this username and password with a
>>> specific Subversion repo.
>>> We have several repos that we access and it would be nice to get Maven
>>> to use the right combination of username and password with each
>>> repository.
>>>
>>> Any suggestions about where to look for more details.
>>>
>>> Ron
>>> |
>>> |
>>> On 01/06/2010 4:22 PM, Ron Wheeler wrote:
>>>     
>>>> https://maven.apache.org/scm/subversion.html
>>>>
>>>> Could someone update this page to describe
>>>> $user.home/.scm/svn-settings.xml
>>>>
>>>> There is an example but no description of the parameters that can be
>>>> set and no reference to anywhere that this is described.
>>>>
>>>>
>>>>
>>>>
>>>> I hope that I can find a place to stick a username and a password for
>>>> the different SCM repositories that we have.
>>>>
>>>> We use Subversion within Eclipse and it has its own place to stash
>>>> these.
>>>>
>>>> I may have to run Maven outside Eclipse to run the release plug-in and
>>>> each person has their own username and password to access the SCM and
>>>> I do not want to put them in the procedures.
>>>>
>>>>
>>>> The rest of the page is pretty cryptic as well.
>>>>
>>>> Another documentation issue:
>>>> is
>>>>
>>>> if false --non-interactive will not be used in the svn command line
>>>>
>>>> the same as
>>>>
>>>> if true --non-interactive will be used in the svn command line
>>>>
>>>>
>>>> The second is easier to parse but the underlying problem is the choice
>>>> of the flag named "usenoninterative" which would be easier to follow
>>>> if it was simply "interactive" and the values reversed.
>>>> Not a documentation problem but a case of "inside-the-beltway"
>>>> thinking on the part of the programmer.
>>>>
>>>> Ron
>>>>
>>>>        
>>>
>>>      
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>    
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven SCM Implementation: Subversion Documentation

Posted by Ron Wheeler <rw...@artifact-software.com>.
On 01/06/2010 5:18 PM, Justin Edelson wrote:
> This shouldn't be necessary. Why isn't the default Subversion
> credentials cache sufficient?
Where is this documented and how is it setup? Is this in the Subversion 
project?
We just use Eclipse.
> It handles per-repo credentials just fine
> and IIRC is now properly encrypted on all OS's.
>
> Justin
>
>
>
> On 6/1/10 5:08 PM, Ron Wheeler wrote:
>    
>> On this site
>> http://stackoverflow.com/questions/1255593/externalising-scm-credentials-with-maven
>>
>> I found this nugget of information
>>
>> |<svn-settings>
>>    <user>[svn user]</user>
>>    <password>[svn password]</password>
>> </svn-settings>
>>
>> |
>>
>> It is not clear how you associate this username and password with a
>> specific Subversion repo.
>> We have several repos that we access and it would be nice to get Maven
>> to use the right combination of username and password with each repository.
>>
>> Any suggestions about where to look for more details.
>>
>> Ron
>> |
>> |
>> On 01/06/2010 4:22 PM, Ron Wheeler wrote:
>>      
>>> https://maven.apache.org/scm/subversion.html
>>>
>>> Could someone update this page to describe
>>> $user.home/.scm/svn-settings.xml
>>>
>>> There is an example but no description of the parameters that can be
>>> set and no reference to anywhere that this is described.
>>>
>>>
>>>
>>>
>>> I hope that I can find a place to stick a username and a password for
>>> the different SCM repositories that we have.
>>>
>>> We use Subversion within Eclipse and it has its own place to stash these.
>>>
>>> I may have to run Maven outside Eclipse to run the release plug-in and
>>> each person has their own username and password to access the SCM and
>>> I do not want to put them in the procedures.
>>>
>>>
>>> The rest of the page is pretty cryptic as well.
>>>
>>> Another documentation issue:
>>> is
>>>
>>> if false --non-interactive will not be used in the svn command line
>>>
>>> the same as
>>>
>>> if true --non-interactive will be used in the svn command line
>>>
>>>
>>> The second is easier to parse but the underlying problem is the choice
>>> of the flag named "usenoninterative" which would be easier to follow
>>> if it was simply "interactive" and the values reversed.
>>> Not a documentation problem but a case of "inside-the-beltway"
>>> thinking on the part of the programmer.
>>>
>>> Ron
>>>
>>>        
>>
>>      
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>    


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven SCM Implementation: Subversion Documentation

Posted by Justin Edelson <ju...@gmail.com>.
This shouldn't be necessary. Why isn't the default Subversion
credentials cache sufficient? It handles per-repo credentials just fine
and IIRC is now properly encrypted on all OS's.

Justin



On 6/1/10 5:08 PM, Ron Wheeler wrote:
> On this site
> http://stackoverflow.com/questions/1255593/externalising-scm-credentials-with-maven
> 
> I found this nugget of information
> 
> |<svn-settings>
>   <user>[svn user]</user>
>   <password>[svn password]</password>
> </svn-settings>
> 
> |
> 
> It is not clear how you associate this username and password with a
> specific Subversion repo.
> We have several repos that we access and it would be nice to get Maven
> to use the right combination of username and password with each repository.
> 
> Any suggestions about where to look for more details.
> 
> Ron
> |
> |
> On 01/06/2010 4:22 PM, Ron Wheeler wrote:
>> https://maven.apache.org/scm/subversion.html
>>
>> Could someone update this page to describe
>> $user.home/.scm/svn-settings.xml
>>
>> There is an example but no description of the parameters that can be
>> set and no reference to anywhere that this is described.
>>
>>
>>
>>
>> I hope that I can find a place to stick a username and a password for
>> the different SCM repositories that we have.
>>
>> We use Subversion within Eclipse and it has its own place to stash these.
>>
>> I may have to run Maven outside Eclipse to run the release plug-in and
>> each person has their own username and password to access the SCM and
>> I do not want to put them in the procedures.
>>
>>
>> The rest of the page is pretty cryptic as well.
>>
>> Another documentation issue:
>> is
>>
>> if false --non-interactive will not be used in the svn command line
>>
>> the same as
>>
>> if true --non-interactive will be used in the svn command line
>>
>>
>> The second is easier to parse but the underlying problem is the choice
>> of the flag named "usenoninterative" which would be easier to follow
>> if it was simply "interactive" and the values reversed.
>> Not a documentation problem but a case of "inside-the-beltway"
>> thinking on the part of the programmer.
>>
>> Ron
>>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven SCM Implementation: Subversion Documentation

Posted by Ron Wheeler <rw...@artifact-software.com>.
On this site
http://stackoverflow.com/questions/1255593/externalising-scm-credentials-with-maven
I found this nugget of information

|<svn-settings>
   <user>[svn user]</user>
   <password>[svn password]</password>
</svn-settings>

|

It is not clear how you associate this username and password with a 
specific Subversion repo.
We have several repos that we access and it would be nice to get Maven 
to use the right combination of username and password with each repository.

Any suggestions about where to look for more details.

Ron
|
|
On 01/06/2010 4:22 PM, Ron Wheeler wrote:
> https://maven.apache.org/scm/subversion.html
>
> Could someone update this page to describe
> $user.home/.scm/svn-settings.xml
>
> There is an example but no description of the parameters that can be 
> set and no reference to anywhere that this is described.
>
>
>
>
> I hope that I can find a place to stick a username and a password for 
> the different SCM repositories that we have.
>
> We use Subversion within Eclipse and it has its own place to stash these.
>
> I may have to run Maven outside Eclipse to run the release plug-in and 
> each person has their own username and password to access the SCM and 
> I do not want to put them in the procedures.
>
>
> The rest of the page is pretty cryptic as well.
>
> Another documentation issue:
> is
>
> if false --non-interactive will not be used in the svn command line
>
> the same as
>
> if true --non-interactive will be used in the svn command line
>
>
> The second is easier to parse but the underlying problem is the choice 
> of the flag named "usenoninterative" which would be easier to follow 
> if it was simply "interactive" and the values reversed.
> Not a documentation problem but a case of "inside-the-beltway" 
> thinking on the part of the programmer.
>
> Ron
>