takari / m2e-discovery-catalog

8 stars 22 forks source link

[xtext,xtend] Contribution for xtext and xtend maven plugins #42

Closed dhuebner closed 9 years ago

jvanzyl commented 9 years ago

We always like to ask first time contributors to the catalog how the process was. Was the process of testing the new entry all right or are there improvements we can make?

dhuebner commented 9 years ago

Was unable to test because of build failure: Unable to connect to repository http://repository.takari.io:8081/nexus/content/sites/m2e.extras/m2eclipse-tycho/0.7.0/N/0.7.0.201309291400/artifacts.xml: Operation timed out

I also not sure how 2.8.0 is working, I hope it is interpreted like >=2.8. The best if I could use a range here. Something like [2.8.0,3.0.0)

dhuebner commented 9 years ago

Probably -Dm2e.discovery.url=http://download.eclipse.org/technology/m2e/discovery/directory-test-1.5.xml was not passed as I expected.

dhuebner commented 9 years ago

I see you've updated the http://wiki.eclipse.org/Submitting_M2E_marketplace_entries site. That's good.

jvanzyl commented 9 years ago

CI appears to be working correctly: http://ci.takari.io:8080/job/m2eclipse-discovery-catalog-stage/lastBuild/console

I'll merge your pull request but please test to make sure the entry works please.

jvanzyl commented 9 years ago

When/if this build works you can try the staging catalog: http://ci.takari.io:8080/job/m2eclipse-discovery-catalog-stage/113/console

jvanzyl commented 9 years ago

There appears to be a duplicate entry, can you take a look please? http://ci.takari.io:8080/job/m2eclipse-discovery-catalog-stage/113/console

dhuebner commented 9 years ago

Yes... copy-paste error :|

<catalogItem>
  <categoryId>org.eclipse.m2e.discovery.category.lifecycles</categoryId>
  <m2e-versions>1.0,1.1,1.3,1.4,1.5</m2e-versions>
  <description>m2e connector for Xtend Maven plugin, http://www.eclipse.org/xtend/</description>
  <groupId>lifecycles</groupId>
  <id>org.eclipse.xtend.m2e.xtendConfigurator</id>
  <kind>lifecycles</kind>
  <license>EPL</license>
  <name>m2e connector for xtend-maven-plugin</name>
  <provider>Eclipse Xtend</provider>
  <p2>
    <repositoryUrl>http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/</repositoryUrl>
    <iuId>org.eclipse.xtend.sdk.feature.group</iuId>
    <iuVersion>2.8.0</iuVersion>
    <lifecycleMappingIU>
      <iuId>org.eclipse.xtend.m2e</iuId>
    </lifecycleMappingIU>
  </p2>
  <overview>
    <summary>m2e connector for Xtend Maven plugin</summary>
    <url>http://www.eclipse.org/xtend/</url>
  </overview>
</catalogItem>
<catalogItem>
  <categoryId>org.eclipse.m2e.discovery.category.lifecycles</categoryId>
  <m2e-versions>1.0,1.1,1.3,1.4,1.5</m2e-versions>
  <description>m2e connector for Xtext Maven plugin, http://www.eclipse.org/Xtext/</description>
  <groupId>lifecycles</groupId>
  <id>org.eclipse.xtext.m2e.xtextConfigurator</id>
  <kind>lifecycles</kind>
  <license>EPL</license>
  <name>m2e connector for xtext-maven-plugin</name>
  <provider>Eclipse Modeling Project</provider>
  <p2>
    <repositoryUrl>http://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/</repositoryUrl>
    <iuId>org.eclipse.xtext.sdk.feature.group</iuId>
    <iuVersion>2.8.0</iuVersion>
    <lifecycleMappingIU>
      <iuId>org.eclipse.xtext.m2e</iuId>
    </lifecycleMappingIU>
  </p2>
  <overview>
    <summary>m2e connector for Xtext Maven plugin</summary>
    <url> http://www.eclipse.org/Xtext/</url>
  </overview>
</catalogItem>
dhuebner commented 9 years ago

I'm still trying to run build locally. Running "mvn clean install" in git root fails with exception. My default java is: java version "1.8.0_20-ea" Java(TM) SE Runtime Environment (build 1.8.0_20-ea-b05) Java HotSpot(TM) 64-Bit Server VM (build 25.20-b05, mixed mode)

I'm on mac.

[ERROR] Failed to execute goal io.takari.m2e.discovery.publisher:org.sonatype.m2e.discovery.publisher.maven-plugin:0.4.0:generate (catalog-1.5) on project org.eclipse.m2e.discovery.oss: Execution catalog-1.5 of goal io.takari.m2e.discovery.publisher:org.sonatype.m2e.discovery.publisher.maven-plugin:0.4.0:generate failed: Unable to load the mojo 'generate' in the plugin 'io.takari.m2e.discovery.publisher:org.sonatype.m2e.discovery.publisher.maven-plugin:0.4.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: org/sonatype/m2e/discovery/publisher/M2eDiscoveryMetadataGeneratorMojo : Unsupported major.minor version 51.0

ifedorenko commented 9 years ago

What operating system do you use?

dhuebner commented 9 years ago

Mac os x 10.9.5 x64

dhuebner commented 9 years ago

Looks like works like in target platform definition files. Could you please remove iuVersion entries? I hope it will than peek the latest one. http://ci.takari.io:8080/job/m2eclipse-discovery-catalog-stage/114/console