Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370983

Summary: [catalog] add "M2E connector for the Eclipse JDT Compiler"
Product: z_Archived Reporter: Fred Bricon <fbricon>
Component: m2eAssignee: Fred Bricon <fbricon>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: Antti.Andreimann, eclipse
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Patch adding m2e-jdt-compiler to the catalog none

Description Fred Bricon CLA 2012-02-08 12:38:21 EST
I've published the m2e-jdt-compiler plugin to a stable url. So it can now be referenced in the discovery catalog : 

<catalogItem>
  <categoryId>org.eclipse.m2e.discovery.category.lifecycles</categoryId>
  <m2e-versions>1.0,1.1</m2e-versions>
  <description>Adds support for maven-compiler-plugin with compilerId=eclipse and compilerId=jdt</description>
  <groupId>lifecycles</groupId>
  <id>org.eclipse.m2e.discovery.lifecyclemapping.m2e-jdt-compiler</id>
  <kind>lifecycles</kind>
  <license>EPL</license>
  <name>M2E connector for the Eclipse JDT Compiler</name>
  <provider>JBoss by Red Hat</provider>
  <p2>
    <repositoryUrl>http://download.jboss.org/jbosstools/updates/m2e-jdt-compiler/</repositoryUrl>
    <iuId>org.jboss.tools.m2e.jdt.feature.feature.group</iuId>
    <iuVersion>1.0.0.20120208-1640</iuVersion>
    <lifecycleMappingIU>
      <iuId>org.jboss.tools.m2e.jdt.compiler</iuId>
    </lifecycleMappingIU>
  </p2>
  <overview>
    <summary>Adds support for maven-compiler-plugin with compilerId=eclipse and compilerId=jdt</summary>
    <url>https://github.com/jbosstools/m2e-jdt-compiler</url>
  </overview>
</catalogItem>

Not sure what to put as lifecycleMappingIU.iuID so I put an arbitrary value.
Comment 1 Fred Bricon CLA 2012-02-08 12:48:38 EST
So if lifecycleMappingIU.iuID is the id of the bundle providing the LM, then the correct catalogItem would be :

<catalogItem>
  <categoryId>org.eclipse.m2e.discovery.category.lifecycles</categoryId>
  <m2e-versions>1.0,1.1</m2e-versions>
  <description>Adds support for maven-compiler-plugin with compilerId=eclipse
and compilerId=jdt</description>
  <groupId>lifecycles</groupId>
  <id>org.eclipse.m2e.discovery.lifecyclemapping.m2e-jdt-compiler</id>
  <kind>lifecycles</kind>
  <license>EPL</license>
  <name>M2E connector for the Eclipse JDT Compiler</name>
  <provider>JBoss by Red Hat</provider>
  <p2>
   
<repositoryUrl>http://download.jboss.org/jbosstools/updates/m2e-jdt-compiler/</repositoryUrl>
    <iuId>org.jboss.tools.m2e.jdt.feature.feature.group</iuId>
    <iuVersion>1.0.0.20120208-1640</iuVersion>
    <lifecycleMappingIU>
      <iuId>org.jboss.tools.m2e.jdt.core</iuId>
    </lifecycleMappingIU>
  </p2>
  <overview>
    <summary>Adds support for maven-compiler-plugin with compilerId=eclipse and
compilerId=jdt</summary>
    <url>https://github.com/jbosstools/m2e-jdt-compiler</url>
  </overview>
</catalogItem>
Comment 2 Igor Fedorenko CLA 2012-05-21 09:42:07 EDT
*** Bug 368233 has been marked as a duplicate of this bug. ***
Comment 3 Fred Bricon CLA 2012-05-21 10:08:19 EDT
Created attachment 215965 [details]
Patch adding m2e-jdt-compiler to the catalog

Here's the patch adding m2e-jdt-compiler to the catalog
Comment 4 Fred Bricon CLA 2012-06-10 11:31:31 EDT
Fixed for m2e 1.0 and m2e 1.1
Comment 5 Denis Roy CLA 2021-04-19 13:25:58 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/