Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342637 - External newer dependency version "shadows" reactor projects
Summary: External newer dependency version "shadows" reactor projects
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-12 16:32 EDT by Igor Fedorenko CLA
Modified: 2021-04-28 16:55 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Fedorenko CLA 2011-04-12 16:32:04 EDT
Consider the following project

a-parent/
  bundle-a/
  feature-a/
   (has deployableFeature=true and includes bundle-a)

This project has two development streams, version 2.0.0-SNAPSHOT is the current "bleeding" edge with release date many months in the future and 1.0.0-SNAPSHOT which is about to enter final testing before the release.

Using Tycho 0.10.0, it is possible to build both 2.0.0-SNAPSHOT and 1.0.0-SNAPSHOT streams on the same development machine and in both cases feature-a/target/site includes expected version of bundle-a.

Using Tycho 0.11.0, build of 1.0.0-SNAPSHOT includes 2.0.0-SNAPSHOT. 

And it looks like p2 dependency resolver generally stopped preferring rector projects over external dependencies, so bundle dependencies are resolved to newer versions of projects that are part of the same reactor build.
Comment 1 Tobias Oberlies CLA 2011-04-13 03:56:12 EDT
Do you have a sample project that can be used to step through the Tycho resolver?
Comment 3 Igor Fedorenko CLA 2011-04-14 22:12:04 EDT
Still need to apply the fix to master.
Comment 4 Igor Fedorenko CLA 2011-04-15 00:07:04 EDT
manually merged to master