Niklas Gertoft created COMPRESS-199:
---------------------------------------
Summary: Introduction of XZ breaks OSGi support
Key: COMPRESS-199
URL: https://issues.apache.org/jira/browse/COMPRESS-199
Project: Commons Compress
Issue Type: Bug
Components: Compressors
Affects Versions: 1.4.1
Environment: Windows Vista & RHEL 6.2, Java 1.6.0_33, Equinox
org.eclipse.osgi_3.7.2.v20120110-1415.jar.
Reporter: Niklas Gertoft
The introduction of XZ seems to break the OSGi support for the compress bundle.
The XZ component doesn't seem to be included or referred to (dependency).
!ENTRY org.apache.commons.compress 4 0 2012-08-20 17:06:19.339
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle
"org.apache.commons.compress_1.4.1 [20]" could not be resolved. Reason: Missing
Constraint: Import-Package: org.tukaani.xz; version="0.0.0"
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1131)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Included in my project by maven and
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.4.1</version>
</dependency>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira