continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jan ancajas (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-1997) Artifacts having their own implementation of dependency type fails during the release prepare phase.
Date Thu, 27 Nov 2008 11:10:19 GMT

    [ http://jira.codehaus.org/browse/CONTINUUM-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=155582#action_155582
] 

jan ancajas commented on CONTINUUM-1997:
----------------------------------------

As a workaround, added  the ArtifactHandler in continuum-release's components.xml

{noformat}
    <component>
      <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
      <role-hint>library</role-hint>
      <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
      <configuration>
        <extension>dll</extension>
        <type>library</type>
      </configuration>
    </component>
{noformat}

I'm thinking we could add the ArtifactHandler programmatically  just before entire project
is built in GenerateReactorProjectsPhase.java

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

        

Mime
View raw message