jbosstools / m2e-wro4j

m2e connector for WRO4J
Eclipse Public License 2.0
34 stars 12 forks source link

Migrate to Tycho 3.0.1 #30

Closed fbricon closed 1 year ago

fbricon commented 1 year ago

Signed-off-by: Fred Bricon fbricon@gmail.com

fbricon commented 1 year ago

https://github.com/jbosstools/m2e-wro4j/actions/runs/3882720524/jobs/6623197201

Error: Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:3.0.0:assemble-repository (default-assemble-repository) on project org.jboss.tools.m2e.wro4j.site: Execution default-assemble-repository of goal org.eclipse.tycho:tycho-p2-repository-plugin:3.0.0:assemble-repository failed: An API incompatibility was encountered while executing org.eclipse.tycho:tycho-p2-repository-plugin:3.0.0:assemble-repository: java.lang.NoSuchMethodError: 'void org.eclipse.equinox.internal.p2.repository.helpers.ChecksumProducer.(java.lang.String, java.lang.String, java.lang.String)'

Build works locally. @mickaelistria does it ring any bells?

mickaelistria commented 1 year ago

Is it possible for you to try clearing the remote .m2 repo or other caches, if any exists?

fbricon commented 1 year ago

Same error after cleaning the Maven cache

Tested on my Linux box, same JDK, no problem

mickaelistria commented 1 year ago

Sorry, no clue, please try using Tycho discussions in case someone else has a more immediate suggestion.

fbricon commented 1 year ago

I could reproduce locally on my Linux box by cleaning my local .m2 repo

fbricon commented 1 year ago

Found https://github.com/eclipse-tycho/tycho/issues/1814. Switching to tycho 3.0.1 fixed it.