You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dave Rathnow <Da...@zedi.ca> on 2008/08/22 19:56:44 UTC

Problems with SCM:UPDATE on linux with Subversion.

I'm having a problem with SCM plugin on Linux.  I've checked out a
project from 

Subversion using my personal account and then tried to do an scm:update.
Rather

than using the account I am logged in as, the plugin is using root and
so the command

failes.  Below is a snipped from the log:

 

[INFO]
------------------------------------------------------------------------

[INFO] [scm:update]

[INFO] Executing: svn --username root --password ***** --non-interactive
update

[INFO] Working directory: /home/cruser/cc/checkout/fine.head/build

[ERROR] Provider message:

[ERROR] The svn command failed.

[ERROR] Command output:

[ERROR] svn: PROPFIND request failed on '/svn/umsrepo/trunk/fine/build'

svn: PROPFIND of '/svn/umsrepo/trunk/fine/build': authorization failed
(http://elmer <http://elmer/> )

 

For some reason, the plugin is trying to use root to do the update.
I've done the same

thing on Windows an do not have this problem.

 

Does anyone know why the plugin is using root and not the user that I am
running

the update command under?

 

Thanks,

Dave.


Re: Problems with SCM:UPDATE on linux with Subversion.

Posted by Stephen Connolly <st...@gmail.com>.
there is an update-subprojects goal that does what you want

Sent from my iPod

On 28 Aug 2008, at 19:20, "W. Dave Rathnow" <Da...@zedi.ca>  
wrote:

>
> We have a number of projects that are built from a single POM file  
> that
> contains a much of <modules>.  To build the project I just enter  
> "mvn goal"
> and whatever goal is specified is applied to each project.
>
> However, the scm plugin does not seem to work this way.  When I  
> enter "mvn
> scm:update", only the current project is updated.   None of the  
> project in
> the "<modules>" element are updated.
>
> Is this they way the plugin is intended to work?  Is there a way to  
> update
> all the subprojects with a single mvn scm:update command?
> -- 
> View this message in context: http://www.nabble.com/Problems-with-SCM%3AUPDATE-on-linux-with-Subversion.-tp19112563p19205718.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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: Problems with SCM:UPDATE on linux with Subversion.

Posted by "W. Dave Rathnow" <Da...@zedi.ca>.
We have a number of projects that are built from a single POM file that
contains a much of <modules>.  To build the project I just enter "mvn goal"
and whatever goal is specified is applied to each project.

However, the scm plugin does not seem to work this way.  When I enter "mvn
scm:update", only the current project is updated.   None of the project in
the "<modules>" element are updated.

Is this they way the plugin is intended to work?  Is there a way to update
all the subprojects with a single mvn scm:update command?
-- 
View this message in context: http://www.nabble.com/Problems-with-SCM%3AUPDATE-on-linux-with-Subversion.-tp19112563p19205718.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: Problems with SCM:UPDATE on linux with Subversion.

Posted by Dave Rathnow <da...@zedi.ca>.

I found the problem.

I had copied my settings.xml file from a windows box and did not remove
a <server></server> entry.   It had specified root as the account to use
for this particular machine.  I removed it and everything works fine now.


Dave Rathnow wrote:
> 
> I seem to be having problems receiving message from this list so I
> apologies
> for the late response.
> 
> I did not do an "su USERNAME" and "root" is not specified in the SCM url.
> 
> Any other thoughts?
> 
> Dave.
> 
> 
> 
> Brett Porter wrote:
>> 
>> How did you log in to the account? IF it happened to be "su USERNAME"
>> from root, you would still have root's environment.
>> 
>> Other than that, the only reason I can think of is that root is
>> specified in the SCM URL.
>> 
>> - Brett
>> 
>> 2008/8/23 Dave Rathnow <Da...@zedi.ca>:
>>> I'm having a problem with SCM plugin on Linux.  I've checked out a
>>> project from
>>>
>>> Subversion using my personal account and then tried to do an scm:update.
>>> Rather
>>>
>>> than using the account I am logged in as, the plugin is using root and
>>> so the command
>>>
>>> failes.  Below is a snipped from the log:
>>>
>>>
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] [scm:update]
>>>
>>> [INFO] Executing: svn --username root --password ***** --non-interactive
>>> update
>>>
>>> [INFO] Working directory: /home/cruser/cc/checkout/fine.head/build
>>>
>>> [ERROR] Provider message:
>>>
>>> [ERROR] The svn command failed.
>>>
>>> [ERROR] Command output:
>>>
>>> [ERROR] svn: PROPFIND request failed on '/svn/umsrepo/trunk/fine/build'
>>>
>>> svn: PROPFIND of '/svn/umsrepo/trunk/fine/build': authorization failed
>>> (http://elmer <http://elmer/> )
>>>
>>>
>>>
>>> For some reason, the plugin is trying to use root to do the update.
>>> I've done the same
>>>
>>> thing on Windows an do not have this problem.
>>>
>>>
>>>
>>> Does anyone know why the plugin is using root and not the user that I am
>>> running
>>>
>>> the update command under?
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Dave.
>>>
>>>
>> 
>> 
>> 
>> -- 
>> Brett Porter
>> Blog: http://blogs.exist.com/bporter/
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problems-with-SCM%3AUPDATE-on-linux-with-Subversion.-tp19112563p19152363.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: Problems with SCM:UPDATE on linux with Subversion.

Posted by Dave Rathnow <da...@zedi.ca>.
I seem to be having problems receiving message from this list so I apologies
for the late response.

I did not do an "su USERNAME" and "root" is not specified in the SCM url.

Any other thoughts?

Dave.



Brett Porter wrote:
> 
> How did you log in to the account? IF it happened to be "su USERNAME"
> from root, you would still have root's environment.
> 
> Other than that, the only reason I can think of is that root is
> specified in the SCM URL.
> 
> - Brett
> 
> 2008/8/23 Dave Rathnow <Da...@zedi.ca>:
>> I'm having a problem with SCM plugin on Linux.  I've checked out a
>> project from
>>
>> Subversion using my personal account and then tried to do an scm:update.
>> Rather
>>
>> than using the account I am logged in as, the plugin is using root and
>> so the command
>>
>> failes.  Below is a snipped from the log:
>>
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] [scm:update]
>>
>> [INFO] Executing: svn --username root --password ***** --non-interactive
>> update
>>
>> [INFO] Working directory: /home/cruser/cc/checkout/fine.head/build
>>
>> [ERROR] Provider message:
>>
>> [ERROR] The svn command failed.
>>
>> [ERROR] Command output:
>>
>> [ERROR] svn: PROPFIND request failed on '/svn/umsrepo/trunk/fine/build'
>>
>> svn: PROPFIND of '/svn/umsrepo/trunk/fine/build': authorization failed
>> (http://elmer <http://elmer/> )
>>
>>
>>
>> For some reason, the plugin is trying to use root to do the update.
>> I've done the same
>>
>> thing on Windows an do not have this problem.
>>
>>
>>
>> Does anyone know why the plugin is using root and not the user that I am
>> running
>>
>> the update command under?
>>
>>
>>
>> Thanks,
>>
>> Dave.
>>
>>
> 
> 
> 
> -- 
> Brett Porter
> Blog: http://blogs.exist.com/bporter/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problems-with-SCM%3AUPDATE-on-linux-with-Subversion.-tp19112563p19152219.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: Problems with SCM:UPDATE on linux with Subversion.

Posted by Brett Porter <br...@gmail.com>.
How did you log in to the account? IF it happened to be "su USERNAME"
from root, you would still have root's environment.

Other than that, the only reason I can think of is that root is
specified in the SCM URL.

- Brett

2008/8/23 Dave Rathnow <Da...@zedi.ca>:
> I'm having a problem with SCM plugin on Linux.  I've checked out a
> project from
>
> Subversion using my personal account and then tried to do an scm:update.
> Rather
>
> than using the account I am logged in as, the plugin is using root and
> so the command
>
> failes.  Below is a snipped from the log:
>
>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] [scm:update]
>
> [INFO] Executing: svn --username root --password ***** --non-interactive
> update
>
> [INFO] Working directory: /home/cruser/cc/checkout/fine.head/build
>
> [ERROR] Provider message:
>
> [ERROR] The svn command failed.
>
> [ERROR] Command output:
>
> [ERROR] svn: PROPFIND request failed on '/svn/umsrepo/trunk/fine/build'
>
> svn: PROPFIND of '/svn/umsrepo/trunk/fine/build': authorization failed
> (http://elmer <http://elmer/> )
>
>
>
> For some reason, the plugin is trying to use root to do the update.
> I've done the same
>
> thing on Windows an do not have this problem.
>
>
>
> Does anyone know why the plugin is using root and not the user that I am
> running
>
> the update command under?
>
>
>
> Thanks,
>
> Dave.
>
>



-- 
Brett Porter
Blog: http://blogs.exist.com/bporter/

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