[ http://jira.codehaus.org/browse/CONTINUUM-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=150089#action_150089 ] Luc Willems commented on CONTINUUM-1572: ---------------------------------------- ok , problem found why release didn't work anymore - parent pom.xml had version of 1.1 while all sub modules had 1.1-SNAPSHOT. i didn't do rollback after first failure build - Fresh build done , project pom was back to 1.1-SNAPSHOT - Retried Release , same error , NO pressed Rollback , got no response and following exception in continuum.log 2008-10-06 21:11:51,086 [Thread-10] ERROR taskQueueExecutor#rollback-release - Error executing task edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.lang.ClassCastException: org.apache.maven.shared.release.config.ReleaseDescriptor cannot be cast to org.apache.continuum.release.config.ContinuumReleaseDescriptor at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:301) at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:120) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:159) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:127) Caused by: java.lang.ClassCastException: org.apache.maven.shared.release.config.ReleaseDescriptor cannot be cast to org.apache.continuum.release.config.ContinuumReleaseDescriptor at org.apache.continuum.release.config.ContinuumPropertiesReleaseDescriptorStore.read(ContinuumPropertiesReleaseDescriptorStore.java:140) at org.apache.maven.shared.release.config.PropertiesReleaseDescriptorStore.read(PropertiesReleaseDescriptorStore.java:53) at org.apache.maven.shared.release.DefaultReleaseManager.loadReleaseDescriptor(DefaultReleaseManager.java:401) at org.apache.maven.shared.release.DefaultReleaseManager.rollback(DefaultReleaseManager.java:234) at org.apache.maven.continuum.release.executors.RollbackReleaseTaskExecutor.execute(RollbackReleaseTaskExecutor.java:40) at org.apache.maven.continuum.release.executors.AbstractReleaseTaskExecutor.executeTask(AbstractReleaseTaskExecutor.java:67) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116) at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442) at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:619) so rollback fails :-( I think we should open a NEW issue to cover all this changes/errors ? > Release should support Build Environments (formerly called Continuum Profiles) > ------------------------------------------------------------------------------ > > Key: CONTINUUM-1572 > URL: http://jira.codehaus.org/browse/CONTINUUM-1572 > Project: Continuum > Issue Type: Improvement > Components: Core - Profiles, Release > Affects Versions: 1.1-beta-4, 1.1 > Reporter: Lóránt Pintér > Assignee: Maria Catherine Tan > Fix For: 1.2.1 > > > Currently there's no way to specify parameters for the release, like JVM version or MAVEN_OPTS. I had a hard time "configuring" Maven to have enough memory during the release (actually I had to add MAVEN_OPTS=-Xmx512m as an environment variable -- not a really nice solution). > It would be nice to have a similar build configuration for the release as we have for other builds, with profiles and all. Maybe a default schedule called RELEASE would do. -- 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