http.whiteboard CT: Avoid using apache jars at runtime
We conditional-package any used packages into the CT bundle to avoid
test implementation dependencies.
# Set javac settings from JDT prefs
-include: ${build}/eclipse/jdt.bnd
-Conditional-Package = org.osgi.test.support.*
+Conditional-Package = org.osgi.test.support.*,\
+ org.apache.http.*,\
+ org.apache.commons.codec.*,\
+ org.apache.commons.logging.*
Private-Package = \
${p}.junit.*
-Import-Package: ${-signaturetest},*
+Import-Package: ${-signaturetest},\
+ org.apache.avalon.framework.logger;resolution:=optional,\
+ org.apache.log;resolution:=optional,\
+ org.apache.log4j;resolution:=optional,\
+ *
Export-Package: ${p}.junit.mock
-Include-Resource = \
+-includeresource = \
tb1.jar,\
tb2.jar
@@ -23,10 +30,7 @@ Include-Resource = \
${junit}
-runbundles = \
- org.osgi.impl.service.http.whiteboard;version=latest,\
- org.apache.commons.logging;version=1.2,\
- org.apache.httpcomponents.httpcore;version=4.4.6,\
- org.apache.httpcomponents.httpclient;version=4.5.3
+ org.osgi.impl.service.http.whiteboard;version=latest
-runproperties = ${runproperties}, \
org.apache.felix.http.host=127.0.0.1, \
