Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359158 - [discovery] support incompatibilities between m2e and catalog entries
Summary: [discovery] support incompatibilities between m2e and catalog entries
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Igor Fedorenko CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 349586
  Show dependency tree
 
Reported: 2011-09-27 20:55 EDT by Igor Fedorenko CLA
Modified: 2021-04-19 13:22 EDT (History)
0 users

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-09-27 20:55:38 EDT
m2e discovery catalog items that use m2e 1.1 specific APIs cannot be installed and used with m2e 1.0. Catalog items that define m2e version range as [1.0,1.1) cannot be installed with m2e 1.1. We need to make sure both m2e 1.0 and 1.1 only offer installation of compatible items.

Unfortunately p2 discovery does not validate if catalog item can or cannot be successfully installed, so we need to public 1.0 and 1.1 catalogs under different URLs.

Here is a rough plan

* each connectors.xml entry will carry list of compatible m2e versions, i.e. 1.0, 1.1 and so on. Entry can be compatible with one or more m2e versions.
* m2e 1.0 catalog will continue to be published to https://repository.sonatype.org/content/repositories/forge-sites/m2e-discovery-catalog/
* m2e 1.1 catalog will be published to new https://repository.sonatype.org/content/repositories/forge-sites/m2e-discovery-catalog-1.1/
* update catalog publishing plugin to generate both 1.0 and 1.1 catalogs from the same connectors.xml
* for bonus points, validate that each catalog entry can be installed with declared versions of m2e.
Comment 1 Igor Fedorenko CLA 2011-09-28 18:20:21 EDT
Implemented as described. Did not have time to implement validation, hopefully the next time.
Comment 2 Denis Roy CLA 2021-04-19 13:22:48 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/