continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Ancajas" <jansqua...@gmail.com>
Subject Re: Releasing artifact with custom packaging
Date Thu, 27 Nov 2008 08:05:45 GMT
For future reference. solved this by adding the custom ArtifactHandler
 component in  continuum-release's components.xml.

e.g.:
    <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>

On Mon, Nov 24, 2008 at 10:13 PM, Jan Ancajas <jansquared@gmail.com> wrote:
> Hi,
>
> Anybody tried releasing an artifact   with custom packaging  in
> continuum ? I can release the artifact using maven-release-plugin in
> command line  with no warning or errors. But in Continuum it throws an
> exception [1]. The library represents an artifact with dll extension I
> built using nmaven.
>
>
> Thanks.
>
> [1]
> [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:
> ----------
> 1) JA110:SAClassLibrary:library:1.1-SNAPSHOT
>

Mime
View raw message