Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370983 - [catalog] add "M2E connector for the Eclipse JDT Compiler"
Summary: [catalog] add "M2E connector for the Eclipse JDT Compiler"
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Fred Bricon CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 368233 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-02-08 12:38 EST by Fred Bricon CLA
Modified: 2021-04-19 13:25 EDT (History)
2 users (show)

See Also:


Attachments
Patch adding m2e-jdt-compiler to the catalog (1.86 KB, patch)
2012-05-21 10:08 EDT, Fred Bricon CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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/