Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylyn-dev] test failure when build main

Not sure where this one came from:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:3.0.3:test (default-test) on project org.eclipse.mylyn.tasks.activity.tests: An unexpected error occurred while launching the test runtime (process returned error code -1


The log file shows:
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.mylyn.tasks.index.core [97]
  Bundle was not resolved because of a uses constraint violation.
  org.apache.felix.resolver.reason.ReasonException: Uses constraint violation. Unable to resolve resource org.eclipse.mylyn.tasks.index.core [osgi.identity; osgi.identity="org.eclipse.mylyn.tasks.index.core"; type="osgi.bundle"; version:Version="3.26.0.N20221223-1911"] because it is exposed to package 'org.apache.lucene.analysis' from resources org.apache.lucene.analyzers-common [osgi.identity; osgi.identity="org.apache.lucene.analyzers-common"; type="osgi.bundle"; version:Version="8.4.1.v20221112-0806"] and org.apache.lucene.core [osgi.identity; osgi.identity="org.apache.lucene.core"; type="osgi.bundle"; version:Version="6.1.0.v20170814-1820"] via two dependency chains.

Chain 1:
  org.eclipse.mylyn.tasks.index.core [osgi.identity; osgi.identity="org.eclipse.mylyn.tasks.index.core"; type="osgi.bundle"; version:Version="3.26.0.N20221223-1911"]
    require: (&(osgi.wiring.bundle=org.apache.lucene.analyzers-common)(bundle-version>=6.1.0))
     |
    provide: osgi.wiring.bundle: org.apache.lucene.analyzers-common
  org.apache.lucene.analyzers-common [osgi.identity; osgi.identity="org.apache.lucene.analyzers-common"; type="osgi.bundle"; version:Version="8.4.1.v20221112-0806"]

Chain 2:
  org.eclipse.mylyn.tasks.index.core [osgi.identity; osgi.identity="org.eclipse.mylyn.tasks.index.core"; type="osgi.bundle"; version:Version="3.26.0.N20221223-1911"]
    require: (&(osgi.wiring.bundle=org.apache.lucene.queryparser)(bundle-version>=6.1.0))
     |
    provide: osgi.wiring.bundle; bundle-version:Version="6.1.0.v20161115-1612"; osgi.wiring.bundle="org.apache.lucene.queryparser"
  org.apache.lucene.queryparser [osgi.identity; osgi.identity="org.apache.lucene.queryparser"; type="osgi.bundle"; version:Version="6.1.0.v20161115-1612"]
    import: (&(osgi.wiring.package=org.apache.lucene.analysis)(&(version>=6.1.0)(!(version>=6.2.0))))
     |
    export: osgi.wiring.package: org.apache.lucene.analysis
  org.apache.lucene.core [osgi.identity; osgi.identity="org.apache.lucene.core"; type="osgi.bundle"; version:Version="6.1.0.v20170814-1820"]

I've had no luck figuring out where the 8.4.1.v20221112-0806 reference is coming from.

New Eclipse-Installation, new branch checkout

Back to the top