maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Venisse (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (CONTINUUM-1227) Error when preparing a release for a multi-module project with dependencies to each other
Date Wed, 28 Mar 2007 11:49:34 GMT

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

Emmanuel Venisse closed CONTINUUM-1227.
---------------------------------------

      Assignee: Emmanuel Venisse  (was: Lester Ecarma)
    Resolution: Won't Fix

This patch isn't correct because we need to resolve dependencies in release:prepare and the
latest code works fine. User error.

> Error when preparing a release for a multi-module project with dependencies to each other
> -----------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1227
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1227
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.0.3
>            Reporter: Lester Ecarma
>         Assigned To: Emmanuel Venisse
>         Attachments: CONTINUUM-1227.patch
>
>
> Happens during release:prepare.
> Ex. when preparing maven-release for release, I get this error:
> [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:84)
> 	at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:205)
> 	at org.apache.maven.shared.release.DefaultReleaseManager.prepareWithResult(DefaultReleaseManager.java:118)
> 	at org.apache.maven.continuum.release.executors.PrepareReleaseTaskExecutor.execute(PrepareReleaseTaskExecutor.java:43)
> 	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: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:173)
> 	at org.apache.maven.continuum.release.phase.GenerateReactorProjectsPhase.getReactorProjects(GenerateReactorProjectsPhase.java:112)
> 	at org.apache.maven.continuum.release.phase.GenerateReactorProjectsPhase.execute(GenerateReactorProjectsPhase.java:79)
> 	... 10 more
> Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
> ----------
> 1) org.apache.maven.release:maven-release-manager:jar:1.0-maestro-1.2-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=org.apache.maven.release -DartifactId=maven-release-manager
\
>           -Dversion=1.0-maestro-1.2-20070220.160011-3 -Dpackaging=jar -Dfile=/path/to/file
>   Path to dependency: 
>   	1) org.apache.maven.plugins:maven-release-plugin:maven-plugin:2.0-beta-5-maestro-1.2-SNAPSHOT
>   	2) org.apache.maven.release:maven-release-manager:jar:1.0-maestro-1.2-SNAPSHOT
> ----------
> 1 required artifact is missing.
> for artifact: 
>   org.apache.maven.plugins:maven-release-plugin:maven-plugin:2.0-beta-5-maestro-1.2-SNAPSHOT
> from the specified remote repositories:
>   central (http://repo.mergere.com/maven2),
>   codehaus.snapshots (http://snapshots.maven.codehaus.org/maven2),
>   apache.snapshots (http://people.apache.org/maven-snapshot-repository),
>   codehaus (http://repository.codehaus.org),
>   apache-snapshots (http://people.apache.org/maven-snapshot-repository),
>   releases (http://linux32.dev.mergere.com:8080/archiva/repository/releases),
>   codehaus-snapshots (http://snapshots.repository.codehaus.org),
>   snapshots (http://linux32.dev.mergere.com:8080/archiva/repository/snapshots)
> 	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:302)
> 	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:269)
> 	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:250)
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.buildWithDependencies(DefaultMavenProjectBuilder.java:352)
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.buildWithDependencies(DefaultMavenProjectBuilder.java:299)
> 	at org.apache.maven.continuum.release.phase.GenerateReactorProjectsPhase.addModules(GenerateReactorProjectsPhase.java:155)
> 	... 12 more

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