Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[orbit-dev] osgi.bnd, imports and declared dependencies
  • From: "Homer, Tony" <tony.homer@xxxxxxxxx>
  • Date: Wed, 22 Apr 2020 21:15:35 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=//Txu4h5/A7T44y23ITS62mxXjFT/4sJ6k1efjHXagw=; b=P9yGMWpz3KQhT9cdD1xYQ4q5mxy+o6eu1PNjfdQA01EtlbS06g63wMvMAYaiZZ/thJ1y82Nkz51uGfY8Gws7CdpZPEJ9MpAbP00sNF8wBwrc0nisgZ7lpQUuwu8b3Iypmp0XwwgV/0WzuB1sIr5fb9pCW3D0OMuAIGUIrgwKzDg5jWJdGVOgIOOJ2S/JhmrLs9K6cqInHHij/ydfPMvEnelfC9qGa3Xwr1AIOzsmumZSKmJSKjIxTLVwnmZDg0WYlMg8Yk05UZ6mbK5HRDN5qCqWuDIBLIn7sDif2/7cw8NM9c9sHRROAoJRATFmi6ZuB7gQJSKIc3Q1Gm9Kx09v/w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OahM/2r1XIElO6IzQBFCMpjbLzCerRJyT0cG66wu42ulqAIzJV3Nqd6lTeBLvMvxDhLTNckzDTnt55Ad14yUgI48KuCCeD6EtGiHedCM/Fn4WMmb25Dq/VzexvAm4T3T9aJnvdEdE837MfiJTzx40lPfwGs+q028g95F0YVX5xNEDDBm7TJWoh//OvlctDaenyTQuqwNVR0ZevCKQVp2gPMVEWobtVClJSbwZ5EwzAeEgAGnjMVQi31PSlj0qC9m2bCxJknMc52U9B4/8QjVLDpOg5JQ/L31E4ht1ecuMQezT5dylrHYeatDbN4hKxMGutJtZtgvUAsJH8rNC8ifJA==
  • Delivered-to: orbit-dev@xxxxxxxxxxx
  • Ironport-sdr: cLx/Bb+XSD0DNrlLzrEuSZvUxOlXwpLp6Ktx294UT4BW6rtBFja5HlhG6ulimGEnQwE3ZTUP2/ G2IDDVNLhfbw==
  • Ironport-sdr: 5jHES+ihAKEnvGG6DKET3NbtfMDruWY8OA+bpj/78s/gfiBmVWh5LvvkPAR1sNN7EnEZURZwwP P2wPKlzLZaUg==
  • List-archive: <https://www.eclipse.org/mailman/private/orbit-dev>
  • List-help: <mailto:orbit-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/orbit-dev>, <mailto:orbit-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/orbit-dev>, <mailto:orbit-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWGOspA2qjokK+gUOlH3bxKGx02w==
  • Thread-topic: osgi.bnd, imports and declared dependencies
  • User-agent: Microsoft-MacOutlook/16.36.20041300

I’m working on the Import-Package section of osgi.bnd for org.mandas.docker-client_3.2.1 and have a question.

 

When ebr generates the versions list at the top of osgi.bnd, it appears to make its list by parsing the dependencies section of pom.xml for the artifact.

In the case of org.mandas.docker-client_3.2.1 I get *versions-list* as shown below.

I manually parsed the imports from the sources of org.mandas.docker-client_3.2.1 and got *imports-list* as shown below.

For the imports which are provided by declared dependencies, I believe I can just make the list and use the declared version – no problem there.

 

What about the imports which are not coming from declared dependencies, for example “org.apache.http”?

Do I still list them in Import-Package?

Can I omit the “;version=” clause for those items?

 

Thanks!

Tony

 

*versions-list*

slf4j-api-version-range=${range;[===,+);1.7.30}slf4j-api-version=${version;===;1.7.30}

jackson-jaxrs-json-provider-version-range=${range;[===,+);2.10.3}jackson-jaxrs-json-provider-version=${version;===;2.10.3}

jackson-databind-version-range=${range;[===,+);2.10.3}jackson-databind-version=${version;===;2.10.3}

jersey-client-version-range=${range;[===,+);2.30.1}jersey-client-version=${version;===;2.30.1}

jersey-hk2-version-range=${range;[===,+);2.30.1}jersey-hk2-version=${version;===;2.30.1}

jersey-apache-connector-version-range=${range;[===,+);2.30.1}jersey-apache-connector-version=${version;===;2.30.1}

jersey-media-json-jackson-version-range=${range;[===,+);2.30.1}jersey-media-json-jackson-version=${version;===;2.30.1}

commons-compress-version-range=${range;[===,+);1.19}commons-compress-version=${version;===;1.19}

jnr-unixsocket-version-range=${range;[===,+);0.28}jnr-unixsocket-version=${version;===;0.28}

commons-lang-version-range=${range;[===,+);2.6}commons-lang-version=${version;===;2.6}

bcpkix-jdk15on-version-range=${range;[===,+);1.65}bcpkix-jdk15on-version=${version;===;1.65}

value-version-range=${range;[===,+);2.8.3}value-version=${version;===;2.8.3}

google-auth-library-oauth2-http-version-range=${range;[===,+);0.20.0}google-auth-library-oauth2-http-version=${version;===;0.20.0}

 

*imports-list*

com.fasterxml.jackson.annotation

com.fasterxml.jackson.core

com.fasterxml.jackson.core.type

com.fasterxml.jackson.databind

com.fasterxml.jackson.databind.annotation

com.fasterxml.jackson.databind.module

com.google.auth.oauth2

javax.net.ssl

javax.ws.rs

javax.ws.rs.client

javax.ws.rs.core

javax.ws.rs.ext

jnr.unixsocket

org.apache.commons.codec.binary

org.apache.commons.compress.archivers.tar

org.apache.commons.compress.compressors.gzip

org.apache.commons.compress.utils

org.apache.commons.lang

org.apache.http

org.apache.http.annotation

org.apache.http.client.config

org.apache.http.client.methods

org.apache.http.config

org.apache.http.conn

org.apache.http.conn.socket

org.apache.http.conn.ssl

org.apache.http.impl.client

org.apache.http.impl.conn

org.apache.http.protocol

org.apache.http.ssl

org.bouncycastle.asn1.pkcs

org.bouncycastle.openssl

org.glassfish.hk2.api

org.glassfish.jersey.apache.connector

org.glassfish.jersey.client

org.glassfish.jersey.jackson

org.immutables.value

org.slf4j


Back to the top