Skip to main content
Jump to: navigation, search

Difference between revisions of "Rebuilding m2e discovery catalog"

(New page: Category:M2E ====directory.xml==== As of version 1.0.0 m2e discovery catalog URL is http://download.eclipse.org/technology/m2e/discovery/directory.xml. It id hardcoded in org.eclipse...)
 
Line 4: Line 4:
  
 
As of version 1.0.0 m2e discovery catalog URL is http://download.eclipse.org/technology/m2e/discovery/directory.xml. It id hardcoded in org.eclipse.m2e.internal.discovery.MavenDiscovery.PATH found in o.e.m2e.discovery bundle. discovery.xml can be changed from dev.eclipse.org or build.eclipse.org as ~/downloads/technology/m2e/discovery/directory.xml. It is not necessary to change discovery.xml unless you want to relocate or block catalog.
 
As of version 1.0.0 m2e discovery catalog URL is http://download.eclipse.org/technology/m2e/discovery/directory.xml. It id hardcoded in org.eclipse.m2e.internal.discovery.MavenDiscovery.PATH found in o.e.m2e.discovery bundle. discovery.xml can be changed from dev.eclipse.org or build.eclipse.org as ~/downloads/technology/m2e/discovery/directory.xml. It is not necessary to change discovery.xml unless you want to relocate or block catalog.
 
  
 
====m2e discovery 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 and contains
+
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
 
* catalog entry jar referenced from discovery.xml
 
* p2 repository that includes catalog items retrieved from Maven repositories
 
* p2 repository that includes catalog items retrieved from Maven repositories
  
====Rebuilding m2e discovery catalog====
+
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://COMMITTER_ID@git.eclipse.org/gitroot/m2e/m2e-discovery-catalog.git
  
m2e discovery catalog is maintained by Sonatype and is automatically generated by this hudson job https://builds.sonatype.org/view/m2eclipse/job/m2eclipse-catalog/ . The job has to be triggered manually and
+
Catalog contents is defined in org.eclipse.m2e.discovery.oss/connectors.xml. Make, commit and push your changes.
  
m2e discovery catalog is automatically generated from an xml descriptor and uploaded to m2e discovery catalog repository by a maven build run
+
Run m2e discovery catalog publishing job https://builds.sonatype.org/view/m2eclipse/job/m2eclipse-catalog/

Revision as of 10:24, 4 June 2011


directory.xml

As of version 1.0.0 m2e discovery catalog URL is http://download.eclipse.org/technology/m2e/discovery/directory.xml. It id hardcoded in org.eclipse.m2e.internal.discovery.MavenDiscovery.PATH found in o.e.m2e.discovery bundle. discovery.xml can be changed from dev.eclipse.org or build.eclipse.org as ~/downloads/technology/m2e/discovery/directory.xml. 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
  • p2 repository that includes catalog items retrieved from Maven repositories

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://COMMITTER_ID@git.eclipse.org/gitroot/m2e/m2e-discovery-catalog.git

Catalog contents is defined in org.eclipse.m2e.discovery.oss/connectors.xml. Make, commit and push your changes.

Run m2e discovery catalog publishing job https://builds.sonatype.org/view/m2eclipse/job/m2eclipse-catalog/

Back to the top