continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brent N Atkinson (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-1814) release prepare : when generate-reactor-projects can't resolve transitively dependency.
Date Fri, 12 Feb 2010 23:12:55 GMT

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

Brent N Atkinson commented on CONTINUUM-1814:
---------------------------------------------

In continuum-1.3.5, the stack trace is:

{code:java}
Thread [pool-3-thread-1] (Suspended (breakpoint at line 395 in DefaultMavenProjectBuilder))

	DefaultMavenProjectBuilder.buildWithDependencies(File, ArtifactRepository, ProfileManager,
TransferListener) line: 395	
	DefaultMavenProjectBuilder.buildWithDependencies(File, ArtifactRepository, ProfileManager)
line: 343	
	GenerateReactorProjectsPhase.addModules(List<MavenProject>, MavenProject, ArtifactRepository)
line: 153	
	GenerateReactorProjectsPhase.getReactorProjects(ReleaseDescriptor) line: 111	
	GenerateReactorProjectsPhase.execute(ReleaseDescriptor, Settings, List) line: 78	
	DefaultReleaseManager.prepare(ReleaseDescriptor, Settings, List, boolean, boolean, ReleaseManagerListener,
ReleaseResult) line: 194	
	DefaultReleaseManager.prepareWithResult(ReleaseDescriptor, Settings, List, boolean, boolean,
ReleaseManagerListener) line: 107	
	PrepareReleaseTaskExecutor.execute(ReleaseProjectTask) line: 44	
{code}

>From initial inspection, it appears that the submitted code might be appropriate. Why
does continuum use buildWithDependencies(...)? I ran the attached build under maven 2.0.9
and it is never called. Instead, build(...) [line 198] is called. It also isn't called from
anywhere else in the continuum codebase.

> release prepare : when generate-reactor-projects can't resolve transitively dependency.
> ---------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1814
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1814
>             Project: Continuum
>          Issue Type: Bug
>          Components: Release
>    Affects Versions: 1.1
>         Environment: maven 2.0.7, subversion 1.4.2
>            Reporter: jsteve
>             Fix For: Backlog
>
>         Attachments: CONTINUUM-1814-TestProject.zip, GenerateReactorProjects_snippet.java
>
>
> [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:82)
> 	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: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:169)
> 	at org.apache.maven.continuum.release.phase.GenerateReactorProjectsPhase.getReactorProjects(GenerateReactorProjectsPhase.java:109)
> 	at org.apache.maven.continuum.release.phase.GenerateReactorProjectsPhase.execute(GenerateReactorProjectsPhase.java:78)
> 	... 10 more
> Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
> ----------
> 1) fr.paris.lutece:lutece-core:lutece-core:2.1.2
>   Try downloading the file manually from the project website.
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=fr.paris.lutece -DartifactId=lutece-core \
>           -Dversion=2.1.2 -Dpackaging=lutece-core -Dfile=/path/to/file
>   Path to dependency: 
>   	1) fr.paris.lutece.plugins:lutece-plugins-pom:pom:2.6-SNAPSHOT
>   	2) fr.paris.lutece.plugins:library-lutece-unit-testing:jar:2.0.2
>   	3) fr.paris.lutece:lutece-core:lutece-core:2.1.2
> ----------
> 1 required artifact is missing.
> for artifact: 
>   fr.paris.lutece.plugins:lutece-plugins-pom:pom:2.6-SNAPSHOT
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   codehausSnapshots (http://snapshots.maven.codehaus.org/maven2),
>   lutece (http://dev.lutece.paris.fr/maven_repository),
>   luteceSnapshot (http://dev.lutece.paris.fr/snapshot_repository)
> 	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:305)
> 	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:272)
> 	at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:253)
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.buildWithDependencies(DefaultMavenProjectBuilder.java:367)
> 	at org.apache.maven.project.DefaultMavenProjectBuilder.buildWithDependencies(DefaultMavenProjectBuilder.java:315)
> 	at org.apache.maven.continuum.release.phase.GenerateReactorProjectsPhase.addModules(GenerateReactorProjectsPhase.java:151)
> 	... 12 more
> the Artifact is in my repository and in my local repository.

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