Skip to content

Can't build test module of created project (kepler) #3

@paulvi

Description

@paulvi

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.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions