Closed eclipse-ocl-bot closed 1 month ago
By Pierre-Charles David on Apr 23, 2018 04:32
Not sure what this is about, or even if it is still relevant 5 years later, but for some reason it was put in the wrong Bugzilla component (EMF Query). Moving to OCL.
By Ed Willink on Apr 23, 2018 04:42
Probably a consequence of the very random and seriously vintage EMF and OCL and ... that have magically appeared in Maven Central.
INVALID in so far as OCL and EMF from Maven Central are not supported. Use repo.eclipse.org
DUPLICATES Bug 525996 that requests a Maven presence.
This bug has been marked as a duplicate of bug 525996
By Ed Willink on Apr 20, 2020 03:06
Not really a duplicate at all.
Correct immediate resolution is INVALID / NOT_ECLIPSE since maven repos are not supported by the OCL project.
The duplicate is added as a see also since the possible support of repo.eclipse.org for OCL may be of some interest.
| --- | --- | | Bugzilla Link | 404602 | | Status | RESOLVED INVALID | | Importance | P3 normal | | Reported | Mar 29, 2013 03:41 EDT | | Modified | Apr 20, 2020 03:06 EDT | | See also | 525996 | | Reporter | Thomas Modeneis |
Description
java.lang.Exception: Could not start bundle mvn:org.eclipse.ocl/ocl/3.0.2 in feature(s) exam-2.6.0:
OCL won't work in OSGi with PAX because of the dependencies with EMF runtime.
Very similar defect:\ https://bugs.eclipse.org/bugs/show_bug.cgi?id=328227
Stacktrace:\ 2013-03-28 11:53:10,928 | ERROR | Thread-7 | FeaturesServiceImpl | s.internal.FeaturesServiceImpl$2 1152 | 40 - org.apache.karaf.features.core - 2.3.1 | Error installing boot features\ java.lang.Exception: Could not start bundle mvn:org.eclipse.ocl/ocl/3.0.2 in feature(s) exam-2.6.0: Unresolved constraint in bundle org.eclipse.ocl [66]: Unable to resolve 66.0: missing requirement [66.0] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.eclipse.core.runtime)(bundle-version>=3.2.0)(!(bundle-version>=4.0.0)))\ at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:482)[40:org.apache.karaf.features.core:2.3.1]\ at org.apache.karaf.features.internal.FeaturesServiceImpl$2.run(FeaturesServiceImpl.java:1150)[40:org.apache.karaf.features.core:2.3.1]\ Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.eclipse.ocl [66]: Unable to resolve 66.0: missing requirement [66.0] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.eclipse.core.runtime)(bundle-version>=3.2.0)(!(bundle-version>=4.0.0)))\ at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)[org.apache.felix.framework-4.0.3.jar:]\ at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)[org.apache.felix.framework-4.0.3.jar:]\ at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)[org.apache.felix.framework-4.0.3.jar:]\ at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:931)[org.apache.felix.framework-4.0.3.jar:]\ at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:479)[40:org.apache.karaf.features.core:2.3.1] ... 1 more