Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351765

Summary: cyclic reference error when building Mylyn with Tycho 0.13.0
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: TychoAssignee: Project Inbox <tycho-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: igor
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Steffen Pingel CLA 2011-07-11 18:10:33 EDT
Steps:

git clone git://git.eclipse.org/gitroot/mylyn/org.eclipse.mylyn.all.git
cd org.eclipse.mylyn.all/
git submodule init
git submodule update
mvn -Dexplicit-target -Pindigo package

Result:

...
[INFO] Resolving target platform for project MavenProject: org.eclipse.mylyn.reviews:org.eclipse.mylyn.reviews.site:0.9.0-SNAPSHOT @ /home/data/users/spingel/tmp/org.eclipse.mylyn.all/org.eclipse.mylyn.reviews/releng/org.eclipse.mylyn.reviews.site/pom.xml
[INFO] Adding repository (cached) http://download.eclipse.org/tools/orbit/downloads/drops/R20110523182458/repository/
[INFO] Adding repository (cached) http://download.eclipse.org/releases/indigo
[INFO] Adding repository (cached) http://download.eclipse.org/egit/updates-1.0
[WARNING] Dependency from /home/data/users/spingel/tmp/org.eclipse.mylyn.all/org.eclipse.mylyn.reviews/releng/org.eclipse.mylyn.reviews.site to nested classpath entry /home/data/users/spingel/tmp/org.eclipse.mylyn.all/org.eclipse.mylyn.commons/org.eclipse.mylyn.discovery.ui/lib-e3.5 can not be represented in Maven model and will not be visible to non-OSGi aware Maven plugins
[WARNING] Dependency from /home/data/users/spingel/tmp/org.eclipse.mylyn.all/org.eclipse.mylyn.reviews/releng/org.eclipse.mylyn.reviews.site to nested classpath entry /home/data/users/spingel/tmp/org.eclipse.mylyn.all/org.eclipse.mylyn.commons/org.eclipse.mylyn.discovery.ui/lib-e3.6 can not be represented in Maven model and will not be visible to non-OSGi aware Maven plugins
[WARNING] Dependency from /home/data/users/spingel/tmp/org.eclipse.mylyn.all/org.eclipse.mylyn.reviews/releng/org.eclipse.mylyn.reviews.site to nested directory classpath entry /home/data/users/spingel/.m2/repository/.cache/tycho/org.apache.axis-1.4.0.v201005080400.jar/lib can not be represented in Maven model and will not be visible to non-OSGi aware Maven plugins
[ERROR] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='org.eclipse.mylyn.docs:org.eclipse.mylyn.wikitext.mediawiki.core:1.6.0-SNAPSHOT'}' and 'Vertex{label='org.eclipse.mylyn.docs:org.eclipse.mylyn.wikitext.core:1.6.0-SNAPSHOT'}' introduces to cycle in the graph org.eclipse.mylyn.docs:org.eclipse.mylyn.wikitext.core:1.6.0-SNAPSHOT --> org.eclipse.mylyn.docs:org.eclipse.mylyn.wikitext.mediawiki.core:1.6.0-SNAPSHOT --> org.eclipse.mylyn.docs:org.eclipse.mylyn.wikitext.core:1.6.0-SNAPSHOT -> [Help 1]


If I run the same build with Tycho 0.12 it works just fine. To verify run: 

mvn -Dexplicit-target -Pindigo package -Dtycho-version=0.12.0
Comment 1 Igor Fedorenko CLA 2011-07-13 08:40:56 EDT

*** This bug has been marked as a duplicate of bug 348933 ***