You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by aledsage <gi...@git.apache.org> on 2016/11/10 18:48:59 UTC

[GitHub] brooklyn-server issue #427: Use servicemix bundle for okio

Github user aledsage commented on the issue:

    https://github.com/apache/brooklyn-server/pull/427
  
    Here's what the headers look like now for okhttp:
    
    ```
    wrap_file__Users_aled_repos_apache_brooklyn_brooklyn-dist_karaf_apache-brooklyn_target_assembly_system_com_squareup_okhttp_okhttp_2.2.0_okhttp-2.2.0.jar_Import-Package_org.apache.http.__resolution__optional_android.util.__resolution__optional_okio_version___1.2.0__1.3.0____ (257)
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Archiver-Version = Plexus Archiver
    Bnd-LastModified = 1478802994865
    Build-Jdk = 1.8.0_25
    Built-By = jwilson
    Created-By = 1.7.0_71 (Oracle Corporation)
    Generated-By-Ops4j-Pax-From = wrap:file:/Users/aled/repos/apache/brooklyn/brooklyn-dist/karaf/apache-brooklyn/target/assembly/system/com/squareup/okhttp/okhttp/2.2.0/okhttp-2.2.0.jar$Import-Package=org.apache.http.*;resolution:=optional,android.util.*;resolution:=optional,okio;version="[1.2.0, 1.3.0)",*
    Manifest-Version = 1.0
    Originally-Created-By = Apache Maven 3.2.3
    Tool = Bnd-2.3.0.201405100607
    
    Bundle-ManifestVersion = 2
    Bundle-Name = wrap_file__Users_aled_repos_apache_brooklyn_brooklyn-dist_karaf_apache-brooklyn_target_assembly_system_com_squareup_okhttp_okhttp_2.2.0_okhttp-2.2.0.jar_Import-Package_org.apache.http.__resolution__optional_android.util.__resolution__optional_okio_version___1.2.0__1.3.0____
    Bundle-SymbolicName = wrap_file__Users_aled_repos_apache_brooklyn_brooklyn-dist_karaf_apache-brooklyn_target_assembly_system_com_squareup_okhttp_okhttp_2.2.0_okhttp-2.2.0.jar_Import-Package_org.apache.http.__resolution__optional_android.util.__resolution__optional_okio_version___1.2.0__1.3.0____
    Bundle-Version = 0
    
    Require-Capability = 
    	osgi.ee;filter:=(&(osgi.ee=JavaSE)(version=1.7))
    
    Export-Package = 
    	com.squareup.okhttp;uses:="javax.net,javax.net.ssl,okio",
    	com.squareup.okhttp.internal;uses:="com.squareup.okhttp,com.squareup.okhttp.internal.http,javax.net.ssl,okio",
    	com.squareup.okhttp.internal.http;uses:="com.squareup.okhttp,com.squareup.okhttp.internal.spdy,okio",
    	com.squareup.okhttp.internal.spdy;uses:="com.squareup.okhttp,okio",
    	com.squareup.okhttp.internal.tls;uses:=javax.net.ssl,
    	com.squareup.okhttp.internal.ws;uses:="com.squareup.okhttp,okio"
    Import-Package = 
    	okio;version="[1.2.0, 1.3.0)",
    	javax.net,
    	javax.net.ssl,
    	javax.security.auth.x500
    ```
    
    In contrast, here is what it used to have:
    ```
    wrap_file__Users_aled_repos_apache_brooklyn_brooklyn-dist_karaf_apache-brooklyn_target_assembly_system_com_squareup_okhttp_okhttp_2.2.0_okhttp-2.2.0.jar (256)
    --------------------------------------------------------------------------------------------------------------------------------------------------------------
    Archiver-Version = Plexus Archiver
    Bnd-LastModified = 1478803574368
    Build-Jdk = 1.8.0_25
    Built-By = jwilson
    Created-By = 1.7.0_71 (Oracle Corporation)
    Generated-By-Ops4j-Pax-From = wrap:file:/Users/aled/repos/apache/brooklyn/brooklyn-dist/karaf/apache-brooklyn/target/assembly/system/com/squareup/okhttp/okhttp/2.2.0/okhttp-2.2.0.jar
    Manifest-Version = 1.0
    Originally-Created-By = Apache Maven 3.2.3
    Tool = Bnd-2.3.0.201405100607
    
    Bundle-ManifestVersion = 2
    Bundle-Name = wrap_file__Users_aled_repos_apache_brooklyn_brooklyn-dist_karaf_apache-brooklyn_target_assembly_system_com_squareup_okhttp_okhttp_2.2.0_okhttp-2.2.0.jar
    Bundle-SymbolicName = wrap_file__Users_aled_repos_apache_brooklyn_brooklyn-dist_karaf_apache-brooklyn_target_assembly_system_com_squareup_okhttp_okhttp_2.2.0_okhttp-2.2.0.jar
    Bundle-Version = 0
    
    Require-Capability = 
    	osgi.ee;filter:=(&(osgi.ee=JavaSE)(version=1.7))
    
    Export-Package = 
    	com.squareup.okhttp;uses:="javax.net,javax.net.ssl,okio",
    	com.squareup.okhttp.internal;uses:="com.squareup.okhttp,com.squareup.okhttp.internal.http,javax.net.ssl,okio",
    	com.squareup.okhttp.internal.http;uses:="com.squareup.okhttp,com.squareup.okhttp.internal.spdy,okio",
    	com.squareup.okhttp.internal.spdy;uses:="com.squareup.okhttp,okio",
    	com.squareup.okhttp.internal.tls;uses:=javax.net.ssl,
    	com.squareup.okhttp.internal.ws;uses:="com.squareup.okhttp,okio"
    Import-Package = 
    	javax.net;resolution:=optional,
    	javax.net.ssl;resolution:=optional,
    	javax.security.auth.x500;resolution:=optional,
    	okio;resolution:=optional
    ```



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---