You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org> on 2009/09/04 12:16:31 UTC
[jira] Issue Comment Edited: (CONTINUUM-2322) Unable to release
project using distributed build if is not configured in the project's
pom
[ http://jira.codehaus.org/browse/CONTINUUM-2322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=186769#action_186769 ]
Maria Catherine Tan edited comment on CONTINUUM-2322 at 9/4/09 5:16 AM:
------------------------------------------------------------------------
This is not a Continuum bug. We should file this in MRELEASE Jira instead.
In RewritePomsForReleasePhase.translateUrlPath(), it looks for the common path of the trunk path and the tag path.
{noformat}
while ( tagPathChars[i] == trunkPathChars[i] )
{
++i;
}
{noformat}
When I prepare release the selenium module from the project attached,
the trunk path is based on the scm connection of it's parent which is scm:svn:http://host/repos/multi-module/CONTINUUM-2317/simple-project/tags/simple-project-1.2/simple-project-modules/simple-webapp-tests
while the tag path is scm:svn:http://host/repos/multi-module/CONTINUUM-2317/simple-project/tags.
So performing the above code snippet will cause an ArrayIndexOutOfBoundsException.
was (Author: ctan):
This is not a Continuum bug. We should file this in MRELEASE Jira instead.
In RewritePomsForReleasePhase.translateUrlPath(), it looks for the common path of the trunk path and the tag path.
{noformat}
while ( tagPathChars[i] == trunkPathChars[i] )
{
++i;
}
{noformat}
When I prepare release the selenium module from the project attached,
the trunk path is based on the scm connection of it's parent which is scm:svn:http://stan.manila.exist.com/repos/multi-module/CONTINUUM-2317/simple-project/tags/simple-project-1.2/simple-project-modules/simple-webapp-tests
while the tag path is scm:svn:http://stan.manila.exist.com/repos/multi-module/CONTINUUM-2317/simple-project/tags.
So performing the above code snippet will cause an ArrayIndexOutOfBoundsException.
> Unable to release project using distributed build if <scm> is not configured in the project's pom
> -------------------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2322
> URL: http://jira.codehaus.org/browse/CONTINUUM-2322
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds, Release
> Affects Versions: 1.3.3
> Reporter: Maria Odea Ching
> Assignee: Maria Catherine Tan
> Fix For: 1.3.5
>
>
> The following error occurs if you try to release a project without an <scm> configured in the pom itself (even if there is one configured in its parent pom):
> {code}
> 2009-08-11 12:31:51,096 [Thread-17] ERROR taskQueueExecutor#prepare-release - Error executing task
> edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 77
> at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(FutureTask.java:299)
> at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get(FutureTask.java:118)
> 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.ArrayIndexOutOfBoundsException: 77
> at org.apache.maven.shared.release.phase.RewritePomsForReleasePhase.translateUrlPath(RewritePomsForReleasePhase.java:249)
> at org.apache.maven.shared.release.phase.RewritePomsForReleasePhase.translateScm(RewritePomsForReleasePhase.java:124)
> at org.apache.maven.shared.release.phase.RewritePomsForReleasePhase.transformScm(RewritePomsForReleasePhase.java:79)
> at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.transformDocument(AbstractRewritePomsPhase.java:271)
> at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.transformProject(AbstractRewritePomsPhase.java:180)
> at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.transform(AbstractRewritePomsPhase.java:116)
> at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.execute(AbstractRewritePomsPhase.java:99)
> at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:194)
> at org.apache.maven.shared.release.DefaultReleaseManager.prepareWithResult(DefaultReleaseManager.java:107)
> at org.apache.maven.continuum.release.executors.PrepareReleaseTaskExecutor.execute(PrepareReleaseTaskExecutor.java:44)
> at org.apache.maven.continuum.release.executors.AbstractReleaseTaskExecutor.executeTask(AbstractReleaseTaskExecutor.java:68)
> 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:176)
> at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
> at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
> at java.lang.Thread.run(Thread.java:595)
> {code}
> See CONTINUUM-2317 for the set up/configuration of the project.
--
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