Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Incopatibility when using the plugin with tycho version > 1.3.0 #279

Closed
davu-all opened this issue Oct 5, 2021 · 5 comments · Fixed by #192
Closed

API Incopatibility when using the plugin with tycho version > 1.3.0 #279

davu-all opened this issue Oct 5, 2021 · 5 comments · Fixed by #192
Milestone

Comments

@davu-all
Copy link

davu-all commented Oct 5, 2021

When we use p2-maven-plugin 1.7.0 with a version of tycho greater than 1.3.0 we get:

[ERROR] Failed to execute goal org.reficio:p2-maven-plugin:1.7.0:site (default-cli) on project XXX:
Execution default-cli of goal org.reficio:p2-maven-plugin:1.7.0:site failed:
org.apache.maven.plugin.MojoExecutionException: Unable to execute mojo: Execution null of goal org.eclipse.tycho.extras:tycho-p2-extras-plugin:1.7.0:publish-features-and-bundles failed:
An API incompatibility was encountered while executing org.eclipse.tycho.extras:tycho-p2-extras-plugin:1.7.0:publish-features-and-bundles:
java.lang.NoSuchMethodError: org.eclipse.tycho.ArtifactDescriptor.getLocation()Ljava/io/File;

With tycho 1.3.0 it works smoothly.

@sparsick
Copy link
Collaborator

@davu-all do you have a sample project for me? p2-maven-plugin is using internally Tycho 1.7.0, therefore, I don't understand your error.

@sparsick
Copy link
Collaborator

@davu-all in master branch is an update to Tycho Version 2.5.0. Please recheck your issue with the current snapshot version of p2 maven plugin.

@davu-all
Copy link
Author

@sparsick thanks for the quick answer. I'll require some time to test your snapshot. I'll be back ASAP.

@davu-all
Copy link
Author

Hi @sparsick,
I was finally able to test current SNAPSHOT with tycho 2.5.0 and i no longer get the error.
Thank you!

@sparsick sparsick added this to the 2.0.0 milestone Dec 28, 2021
@sparsick sparsick linked a pull request Dec 28, 2021 that will close this issue
@sparsick
Copy link
Collaborator

@davu-all Thank you for testing. I will create ,soon as possible, a new release of the plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants