You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kaare Nilsen (JIRA)" <ji...@codehaus.org> on 2006/05/24 10:15:41 UTC

[jira] Closed: (MRELEASE-117) release:prepare fails on solaris 10

     [ http://jira.codehaus.org/browse/MRELEASE-117?page=all ]
     
Kaare Nilsen closed MRELEASE-117:
---------------------------------

    Resolution: Cannot Reproduce

Might be due to wrong version in plexus utils in $MAVEN_HOME/core
hehe seemed like I used kind of an old maven version on the solaris machine.
after upgrading to latest maven on solaris I just cannot reproduce the problem.

> release:prepare fails on solaris 10
> -----------------------------------
>
>          Key: MRELEASE-117
>          URL: http://jira.codehaus.org/browse/MRELEASE-117
>      Project: Maven 2.x Release Plugin
>         Type: Bug

>     Versions: 2.0-beta-4
>  Environment: solaris 10 sparc
>     Reporter: Kaare Nilsen

>
>
> On solaris 10 we are not able to run mvn release:prepare. 
> I have tested to run mvn release:prepare on the same codebase on a windows machine, and there it runs ok..
> Here is the stacktrace :
> [INFO] [release:prepare]
> [INFO] Resuming release from phase 'run-preparation-goals'
> [INFO] Executing preparation goals 'clean integration-test'...
> [INFO] ----------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] org.codehaus.plexus.util.cli.Commandline.addSystemEnvironment()V
> [INFO] ----------------------------------------------------------------------------
> [DEBUG] Trace
> java.lang.NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.addSystemEnvironment()V
> 	at org.apache.maven.plugins.release.exec.DefaultCommandLineFactory.createCommandLine(DefaultCommandLineFactory.java:37)
> 	at org.apache.maven.plugins.release.exec.ForkedMavenExecutor.executeGoals(ForkedMavenExecutor.java:49)
> 	at org.apache.maven.plugins.release.exec.ForkedMavenExecutor.executeGoals(ForkedMavenExecutor.java:108)
> 	at org.apache.maven.plugins.release.phase.RunGoalsPhase.execute(RunGoalsPhase.java:48)
> 	at org.apache.maven.plugins.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:139)
> 	at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:106)
> 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:432)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:530)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:485)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:455)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:216)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> 	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(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	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)
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 57 seconds
> [INFO] Finished at: Mon May 22 13:02:38 MEST 2006
> [INFO] Final Memory: 11M/21M
> [INFO] ----------------------------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira