Hide Forgot
Created attachment 511222 [details] Working version of MANIFEST.MF for httpclient v4.1.x Description of problem: Upstream's package only depends on org.apache.commons.logging (v1.1.1). See https://issues.apache.org/jira/browse/HTTPCLIENT-1082 for reference. However, the generated MANIFEST.MF of /usr/share/java/httpcomponents/httpclient.jar contains Import-Package statements including org.apache.log, org.apache.log4j and a few others. However, it should only import org.apache.commons.logging and perhaps org.apache.commons.logging.impl (which is provided by apache-commons-logging). Version-Release number of selected component (if applicable): rpm -q httpcomponents-client httpcomponents-client-4.1.1-2.fc16.noarch How reproducible: Always. Steps to Reproduce: Please get back to me if you need a reproducer. Actual results: MANIFEST.MF has wrong Import-Package statements. Expected results: MANIFEST.MF looks similar to the version I'm attaching. That one, which only removes wrong Import-Package statements, works for me. For reference, have a look at the MANIFEST.MF of httpclient v4.1.0 as provided by eclipse.org (orbit): http://www.eclipse.org/downloads/download.php?r=1&file=/tools/orbit/downloads/drops/R20110523182458/repository/plugins/org.apache.httpcomponents.httpclient_4.1.0.v201103311320.jar They do not depend on any logging frameworks other than commons.logging.
Ok, it looks like this can be fixed with <Import-Package>!org.apache.avalon.framework.logger,!org.apache.log,!org.apache.log4j,*</Import-Package> Apache felix bundle plug-in instructions in the pom for httpclient. I'll push a new build to koji shortly.
Adding Andrew so he can read along.
This build should fix the issue: http://koji.fedoraproject.org/koji/taskinfo?taskID=3202631