|
|
Line 3: |
Line 3: |
| [[Category:M2E]] | | [[Category:M2E]] |
| | | |
− | ==== directory.xml ====
| + | See https://github.com/takari/m2e-discovery-catalog |
− | | + | |
− | m2e discovery catalog URL is hardcoded in <tt>org.eclipse.m2e.internal.discovery.MavenDiscovery.PATH</tt> found in o.e.m2e.discovery bundle. To allow discovery catalog items to be compatible with some m2e versions but not all, each minor m2e version has different URL. Specifically,
| + | |
− | | + | |
− | * m2e 1.0.x <tt>http://download.eclipse.org/technology/m2e/discovery/directory.xml</tt>
| + | |
− | * m2e 1.1.x <tt>http://download.eclipse.org/technology/m2e/discovery/directory-1.1.xml</tt>
| + | |
− | | + | |
− | discovery.xml can be changed from dev.eclipse.org or build.eclipse.org as <tt>~/downloads/technology/m2e/discovery/directory.xml</tt>. It is not necessary to change discovery.xml unless you want to relocate or block catalog.
| + | |
− | | + | |
− | ====m2e discovery catalog====
| + | |
− | | + | |
− | As of version 1.0.0 m2e discovery catalog content is hosted at https://repository.sonatype.org/content/repositories/forge-sites/m2e-discovery-catalog/. This repository is generated by m2e discovery catalog publishing job https://builds.sonatype.org/view/m2eclipse/job/m2eclipse-catalog/ and contains
| + | |
− | * catalog entry jar referenced from discovery.xml
| + | |
− | | + | |
− | The job execution has to be triggered manually and requires access to Sonatype build infrastructure.
| + | |
− | | + | |
− | ====updating m2e discovery catalog====
| + | |
− | | + | |
− | First, clone git repository with catalog sources
| + | |
− | | + | |
− | git clone ssh://ECLIPSE_COMMITTER_ID@git.eclipse.org/gitroot/m2e/m2e-discovery-catalog.git
| + | |
− | | + | |
− | Catalog contents is defined in org.eclipse.m2e.discovery.oss/connectors.xml. Make changes, commit and push your changes.
| + | |
− | | + | |
− | Run m2e discovery catalog publishing job https://builds.sonatype.org/view/m2eclipse/job/m2eclipse-catalog/
| + | |
Latest revision as of 09:11, 15 October 2014
See https://github.com/takari/m2e-discovery-catalog