You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "jan ancajas (JIRA)" <ji...@codehaus.org> on 2008/11/27 19:23:19 UTC

[jira] Updated: (CONTINUUM-1997) Artifacts having their own implementation of dependency type fails during the release prepare phase.

     [ http://jira.codehaus.org/browse/CONTINUUM-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jan ancajas updated CONTINUUM-1997:
-----------------------------------

    Attachment: CONTINUUM-1997-continuum-release.patch

It should also include this patch + the workaround for the artifactHandlers in components.xml you wish to support.

MavenProjectBuilder  is being used to build the artifact in generate-reactors-project-phase  but it's not resolving the transitive dependencies properly.  Examined  MavenEmbedder  code and copied a little bit from there to make MavenProjectBuilder work.

see http://mail-archives.apache.org/mod_mbox/maven-commits/200709.mbox/%3C20070903154231.63A611A9832@eris.apache.org%3E


I also remove the  space (" ") tokenizer in  getLocalRepository() method.  This will cause an issue in windows since the default repo is in "C:\Documents and Settings\user\.m2\repository" , hence it will only return "C:\Documents" and the artifacts again wont be resolved.



> Artifacts having their own implementation of dependency type fails during the release prepare phase.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1997
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1997
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.2.2
>            Reporter: jan ancajas
>         Attachments: CONTINUUM-1997-continuum-release.patch
>
>
> The library type represents an artifact with dll extension  built using nmaven below:
> [INFO] Updating local copy against the scm...
> [ERROR] org.apache.maven.shared.release.ReleaseExecutionException:
> Unable to get reactor projects: Failed to build project.
>        at org.apache.maven.continuum.release.phase.GenerateReactorProjectsPhase.execute(GenerateReactorProjectsPhase.java:98)
>        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:59)
>        at org.apache.maven.continuum.release.executors.AbstractReleaseTaskExecutor.executeTask(AbstractReleaseTaskExecutor.java:83)
>        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$Worker.runTask(ThreadPoolExecutor.java:665)
>        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
>        at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.maven.continuum.release.ContinuumReleaseException:
> Failed to build project.
>        at org.apache.maven.continuum.release.phase.GenerateReactorProjectsPhase.addModules(GenerateReactorProjectsPhase.java:185)
>        at org.apache.maven.continuum.release.phase.GenerateReactorProjectsPhase.getReactorProjects(GenerateReactorProjectsPhase.java:125)
>        at org.apache.maven.continuum.release.phase.GenerateReactorProjectsPhase.execute(GenerateReactorProjectsPhase.java:94)
>        ... 10 more
> Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
> Missing:
> ----------

-- 
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