The code sets a message. Does running the release with -X show the exact
command line?

- Brett

Brian E. Fox wrote:
> Svn stores that in the registry I think. I didn't have to set it to get
> the command line to work.
> $ svn cp .
> https://svn.codehaus.org/mojo/tags/dependency-manven-plugin-1.0-test
> svn: Could not use external editor to fetch log message; consider
> setting the $S
> VN_EDITOR environment variable or using the --message (-m) or --file
> (-F) option
> s
> svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is
> set, and
> no 'editor-cmd' run-time configuration option was found
> 
> If I add -m and a message, the commit goes through. Is the code setting
> a msg or could that be the problem? 
> 
> -----Original Message-----
> From: Brett Porter [mailto:[EMAIL PROTECTED] 
> Sent: Monday, January 02, 2006 4:06 PM
> To: dev@mojo.codehaus.org
> Subject: Re: [mojo-dev] Release:prepare failing
> 
> Maybe its trying to use the wrong username?
> 
> It's failing to do:
> 
> svn cp . https://svn.codehaus.org/mojo/tags/dependency-manven-plugin-1.0
> 
> - Brett
> 
> Brian E. Fox wrote:
>> Yes, I was always using https. I normally use tortoiseSVN but I double
> 
>> checked that I can commit using the svn command line and it was ok.
>>
>> -----Original Message-----
>> From: Brett Porter [mailto:[EMAIL PROTECTED]
>> Sent: Monday, January 02, 2006 3:48 PM
>> To: dev@mojo.codehaus.org
>> Subject: Re: [mojo-dev] Release:prepare failing
>>
>> Are you using the https checkout for mojo? (run svn info to check how 
>> it was checked out). We changed over to that and you need to have 
>> previously committed using https to cache the auth details.
>>
>> - Brett
>>
>> Brian E. Fox wrote:
>>> repost under new subject:
>>>  
>>> I'm trying the release plugin and I get the following error:
>>>  
>>> $ mvn -e release:prepare
>>> + Error stacktraces are turned on.
>>> [INFO] Scanning for projects...
>>> [INFO] Searching repository for plugin with prefix: 'release'.
>>> [INFO]
>>> ---------------------------------------------------------------------
>>> -
>>> ---
>>> ---
>>> [INFO] Building Dependency Maven Plugin
>>> [INFO]    task-segment: [release:prepare] (aggregator-style)
>>> [INFO]
>>> ---------------------------------------------------------------------
>>> -
>>> ---
>>> ---
>>> [WARNING]
>>>         Artifact junit:junit:jar:3.8.1 retains local scope 'test'
>>> overriding bro
>>> ader scope 'compile'
>>>         given by a dependency. If this is not intended, modify or 
>>> remove the loc al scope.
>>>  
>>> [INFO] [release:prepare]
>>> [INFO] Checking in modified POMs
>>> [INFO] What tag name should be used?
>>> dependency-maven-plugin-1.0
>>> [INFO] Tagging release with the label dependency-maven-plugin-1.0.
>>> Provider message:
>>> The svn tag command failed.
>>> Command output:
>>> svn: Commit failed (details follow):
>>> svn: MKACTIVITY of
>>> '/mojo/!svn/act/a9c42856-b1b7-014c-82a2-c813398c4427': author ization
> 
>>> failed (https://svn.codehaus.org <https://svn.codehaus.org/>)
>>>  
>>> [INFO]
>>> ---------------------------------------------------------------------
>>> -
>>> ---
>>> ---
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ---------------------------------------------------------------------
>>> -
>>> ---
>>> ---
>>> [INFO] An error is occurred in the tag process.
>>>  
>>> Embedded error: Error!
>>> [INFO]
>>> ---------------------------------------------------------------------
>>> -
>>> ---
>>> ---
>>> [INFO] Trace
>>> org.apache.maven.lifecycle.LifecycleExecutionException: An error is 
>>> occurred in the tag process.
>>>         at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
>>> ultLifecycleExecutor.java:544)
>>>         at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
>>> Goal(DefaultLifecycleExecutor.java:482)
>>>         at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
>>> ltLifecycleExecutor.java:452)
>>>         at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
>>> dleFailures(DefaultLifecycleExecutor.java:301)
>>>         at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
>>> ts(DefaultLifecycleExecutor.java:214)
>>>         at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
>>> fecycleExecutor.java:137)
>>>         at
>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
>>>         at
>> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
>>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>>>         at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>>> java:39)
>>>         at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>>> sorImpl.java:25)
>>>         at java.lang.reflect.Method.invoke(Method.java:324)
>>>         at
>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>         at
> org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>         at
>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>>  
>>>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>> Caused by: org.apache.maven.plugin.MojoExecutionException: An error 
>>> is
>>> occurred in the tag process.
>>>         at
>>> org.apache.maven.plugins.release.PrepareReleaseMojo.tagRelease(Prepar
>>> eReleaseMojo.java:1414)
>>>         at
>>> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareRe
>>> leaseMojo.java:246)
>>>         at
>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
>>> nManager.java:399)
>>>         at
>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
>>> ultLifecycleExecutor.java:519)
>>>         ... 16 more
>>> Caused by: org.apache.maven.scm.ScmException: Error!
>>>         at
>>> org.apache.maven.plugins.release.helpers.ScmHelper.checkResult(ScmHel
>>> per.java:124)
>>>         at
>>> org.apache.maven.plugins.release.helpers.ScmHelper.tag(ScmHelper.java
>>> :226)
>>>         at
>>> org.apache.maven.plugins.release.PrepareReleaseMojo.tagRelease(Prepar
>>> eReleaseMojo.java:1410)
>>>         ... 19 more
>>> [INFO]
>>> ---------------------------------------------------------------------
>>> -
>>> ---
>>> ---
>>> [INFO] Total time: 25 seconds
>>> [INFO] Finished at: Mon Jan 02 14:16:17 EST 2006 [INFO] Final Memory:
> 
>>> 3M/6M [INFO]
>>> ---------------------------------------------------------------------
>>> -
>>> ---
>>> ---
>>>
>>
> 
> 

Reply via email to