eclipse-cbi / org.eclipse.cbi

CBI Maven plugins and Webservices
https://eclipse-cbi.github.io/org.eclipse.cbi/
Eclipse Public License 2.0
1 stars 10 forks source link

Do not use Tycho in eclipse-cbi-plugin #542

Closed laeubi closed 3 days ago

laeubi commented 1 week ago

Currently the plugin relies on some of Tycho components and classes this has the risk of breakage and incompatibility.

This do the following

As a background, we are currently migrate Tycho to Maven 4 and therefore changing some internals to prepare for this step. This has suddenly break the mojo for unknown reasons see for example:

https://github.com/eclipse-tycho/tycho/actions/runs/10814711934/job/30001836975

Error:  Failed to execute goal org.eclipse.cbi.maven.plugins:eclipse-cbi-plugin:1.5.0:plugin-versions (plugin-versions) on project eclipse-junit-tests: Execution plugin-versions of goal org.eclipse.cbi.maven.plugins:eclipse-cbi-plugin:1.5.0:plugin-versions failed: Unable to load the mojo 'plugin-versions' (or one of its required components) from the plugin 'org.eclipse.cbi.maven.plugins:eclipse-cbi-plugin:1.5.0': java.util.NoSuchElementException
Error:        role: org.apache.maven.plugin.Mojo
Error:    roleHint: org.eclipse.cbi.maven.plugins:eclipse-cbi-plugin:1.5.0:plugin-versions
Error:  -> [Help 1]
akurtakov commented 3 days ago

I'm merging this one now as we have to keep progressing on Tycho/Platform side.

akurtakov commented 3 days ago

@laeubi Would you please switch platform build to used 1.5.1-SNAPSHOT? If/when this is proved to not cause issues we should ask @fredg02 / @mbarbero for a release.