From: Ian R. <Ian...@sr...> - 2007-12-27 02:27:16
|
I'm having trouble convincing CC to run the maven2 release:prepare goal. I can run it from outside of CC, and can do a heap of other Maven tasks. But when I run this I get the output below. It seems that maven isn't "finding" maven, which is odd to say the least! If there's any other tracing that might be useful, let me know. Thanks, Ian + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'release'. WAGON=5FVERSION: 1.0-beta-2 [INFO] ------------------------------------------------------------------------ [INFO] Building ebizConfigs [INFO] task-segment: [release:prepare] (aggregator-style) [INFO] ------------------------------------------------------------------------ release:prepare [INFO] Verifying that there are no local modifications... [INFO] Executing: svn --non-interactive status [INFO] Working directory: D:\CruiseControl\projects\ebizConfigs\EbizConfigs - Releases [INFO] Checking dependencies and plugins for snapshots ... [INFO] Transforming 'ebizConfigs'... [INFO] Not generating release POMs [INFO] Executing goals 'clean verify'... [INFO] Executing: mvn clean verify --no-plugin-updates --batch-mode -P windows,default [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR 'mvn' is not recognized as an internal or external command, operable program or batch file. [INFO] ------------------------------------------------------------------------ [INFO] Maven execution failed, exit code: '1' [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Maven execution failed, exit code: '1' at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLif= ecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(D= efaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLife= cycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFai= lures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Def= aultLifecycleExecutor.java:224) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycl= eExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:7= 9) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp= l.java:43) at java.lang.reflect.Method.invoke(Method.java:618) 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: Maven execution failed, exit code: '1' at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseM= ojo.java:140) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManag= er.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLif= ecycleExecutor.java:539) ... 16 more Caused by: org.apache.maven.shared.release.ReleaseExecutionException: Maven execution failed, exit code: '1' at org.apache.maven.shared.release.phase.AbstractRunGoalsPhase.execute(Abstrac= tRunGoalsPhase.java:66) at org.apache.maven.shared.release.phase.RunPrepareGoalsPhase.execute(RunPrepa= reGoalsPhase.java:42) at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleas= eManager.java:194) at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleas= eManager.java:131) at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleas= eManager.java:94) at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseM= ojo.java:136) ... 18 more Caused by: org.apache.maven.shared.release.exec.MavenExecutorException: Maven execution failed, exit code: '1' at org.apache.maven.shared.release.exec.ForkedMavenExecutor.executeGoals(Forke= dMavenExecutor.java:108) at org.apache.maven.shared.release.exec.ForkedMavenExecutor.executeGoals(Forke= dMavenExecutor.java:126) at org.apache.maven.shared.release.phase.AbstractRunGoalsPhase.execute(Abstrac= tRunGoalsPhase.java:59) ... 23 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 seconds [INFO] Finished at: Thu Dec 27 13:21:23 EST 2007 [INFO] Final Memory: 6M/21M [INFO] ------------------------------------------------------------------------ Disclaimer: The information transmitted is intended only for the person or = entity to which it is addressed and may contain confidential and/or privile= ged material. Any review, retransmission, dissemination or other use of, or= taking of any action in reliance upon, this information by persons or enti= ties other than the intended recipient is prohibited. If you received this = in error, please contact the sender and delete the material from your compu= ter. Privacy: If you are responding to this email or providing personal informat= ion to the SRO for the purposes of one of the Acts it administers, such inf= ormation is used only for the purpose for which it was collected (administ= ration of SRO legislation ) and is protected by the Information Privacy Act= 2000 and secrecy provisions contained in legislation administered by SRO. = It is not disclosed otherwise than in accordance with the law. If you would= like a copy of the SRO Privacy Policy please refer to SRO website (www.sro= .vic.gov.au) or contact SRO on 9628 0556 and request a copy. |