Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352883 - Update to p2 version to Juno M1
Summary: Update to p2 version to Juno M1
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-22 11:26 EDT by Tobias Oberlies CLA
Modified: 2021-04-28 16:54 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Oberlies CLA 2011-07-22 11:26:15 EDT
In order to benefit from the investments in p2 M1 (e.g. bug 325622), Tycho needs to update the embedded p2 version. This issue shall make it transparent when this happens.

The general plan is to integrate new p2 milestone versions immediately, and stage a new Tycho release one week after each Juno milestone. Depending on how the work on 0.13.0 progresses, p2 M1 will either be in 0.13.0 or the successor of 0.13.0.
Comment 1 Tobias Oberlies CLA 2011-08-23 09:58:12 EDT
I have updated OSGi runtime to use Juno M1. The versions used directly from the Maven part are not yet updated.

@Igor: Could you please do that? IIRC this requires upload to Maven central, which is easier for you. You can find the right versions when opening tycho-p2-resolver/tycho-bundles-target/eclipse.target with the target editor on the "Content" tab.
Comment 2 Igor Fedorenko CLA 2011-08-25 12:21:53 EDT
Updated equinox and jdt to juno m1. https://github.com/sonatype/sonatype-tycho/commit/048054f214925d79ad376f7ec452893d424d7e19
Comment 3 Kai Kreuzer CLA 2011-08-26 08:22:23 EDT
Since this commit, optional dependencies do not seem to be regarded at compilation time anymore - which breaks existing builds.
Is there any workaround for this to make them again available at build time (besides removing the optional flag)?
Comment 4 Tobias Oberlies CLA 2011-08-30 07:34:02 EDT
(In reply to comment #3)
> Since this commit, optional dependencies do not seem to be regarded at
> compilation time anymore - which breaks existing builds.
> Is there any workaround for this to make them again available at build time
> (besides removing the optional flag)?
This is a known bug, which will unfortunately now become more visible: bug 351842.