feat: remove slf4j-api out of the p2 bundle to avoid the build failure in testng-eclipse#75
Merged
feat: remove slf4j-api out of the p2 bundle to avoid the build failure in testng-eclipse#75
Conversation
…e in testng-eclipse [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:4.0.12:validate-classpath (default-validate-classpath) on project org.testng.eclipse: Execution default-validate-classpath of goal org.eclipse.tycho:tycho-compiler-plugin:4.0.12:validate-classpath failed: org.osgi.framework.BundleException: Bundle org.testng.eclipse cannot be resolved:org.testng.eclipse [132] [ERROR] Unresolved requirement: Require-Bundle: org.testng; bundle-version="[6.9.12,8.0.0)" [ERROR] -> Bundle-SymbolicName: org.testng; bundle-version="7.11.0.r202502150124" [ERROR] org.testng [128] [ERROR] Unresolved requirement: Import-Package: org.slf4j [ERROR] -> Export-Package: org.slf4j; bundle-symbolic-name="slf4j.api"; bundle-version="2.0.16"; version="1.7.36" [ERROR] slf4j.api [3] [ERROR] Unresolved requirement: Require-Capability: osgi.extender; filter:="(&(osgi.extender=osgi.serviceloader.processor)(version>=1.0.0)(!(version>=2.0.0)))"
# Conflicts: # build.gradle
juherr
approved these changes
Mar 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
solve the build failure by exclude the slf4j-api out of the testng-p2 repo, as the slf4j-api osgi bundle is available in the eclipse installation package out of the box.