-
Notifications
You must be signed in to change notification settings - Fork 20
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
Can't build test module of created project (kepler) #3
Comments
From What's New in Kepler (JDT) local help link The org.junit bundle has been updated to JUnit 4.11. Note that JUnit 4 still contains the JUnit 3 APIs. If you need org.junit_3.8.2 back for whatever reason, you can still get it from Orbit. With this string build passes: |
.test module) -> fixed by updating junit version
Thank you, Fred |
I created project with tycho.version=0.18.1 target=kepler,
then I ran
mvn package
and got error[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.ws=win32, osgi.os=win32, osgi.arch=x86, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: tycho-eclipse-plugin1.test 0.0.1.qualifier
[ERROR] Missing requirement: tycho-eclipse-plugin1.test 0.0.1.qualifier requires 'bundle org.junit4 4.5.0' but it could not be found
[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from tycho-eclipse-plugin1.test 0.0.1.qualifier to bundle org.junit4 4.5.0.", "No solution found because the problem is unsatisfiable."] -> [Help 1]
I tried to update
MANIFEST.MF
as below, it doesn't help:Require-Bundle: org.eclipse.jdt.junit4.runtime;bundle-version="1.1.0", org.junit4;bundle-version="4.11.0"
I only succeeded when disabling/removing
<module>tycho-eclipse-plugin1.test</module>
in parent pom.xmlThe text was updated successfully, but these errors were encountered: