aboutsummaryrefslogtreecommitdiffstats
path: root/netbox-client/provider
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-08-21 11:29:49 -0400
committerAlexis de Talhouët <adetalhouet89@gmail.com>2018-08-24 08:42:14 -0400
commite2b2138f05e9eaf3eb89f9a65859433cf79b9960 (patch)
tree6c01fa6b1d1fee1cbd28786dea462c6d4937fd35 /netbox-client/provider
parenteae6b96f6529e4a9f350809a5def4d82a904501b (diff)
Fix packaging of netbox-client
The script previously used packaged the netbox-client with *-mvnrepo_zip.zip which is not what ccsdk-distribbution/odlsli is expecting, as the classifier should be repo. Also, using the *-osgi artifact is actually not helping satisfying OSGi as it's causing wiring issues. Instead, we used the plain jar instead of the bundle, and it seems to fix the issue, as those jar gets already populated in the classpath. Change-Id: If1f3c3d384c2ee42b7f747fbacc46415bacf5f6e Issue-ID: CCSDK-462 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'netbox-client/provider')
-rw-r--r--netbox-client/provider/pom.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/netbox-client/provider/pom.xml b/netbox-client/provider/pom.xml
index 16695f20..2ffcaea9 100644
--- a/netbox-client/provider/pom.xml
+++ b/netbox-client/provider/pom.xml
@@ -34,6 +34,7 @@
<name>ccsdk-sli-adaptors :: netbox-client :: ${project.artifactId}</name>
<dependencies>
+
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
@@ -41,18 +42,18 @@
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient-osgi</artifactId>
- <version>${apache.httpcomponents.client.version}</version>
+ <artifactId>httpcore</artifactId>
+ <version>${apache.httpcomponents.core.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpasyncclient-osgi</artifactId>
- <version>4.1.3</version>
+ <artifactId>httpclient</artifactId>
+ <version>${apache.httpcomponents.client.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore-osgi</artifactId>
- <version>${apache.httpcomponents.core.version}</version>
+ <artifactId>httpasyncclient</artifactId>
+ <version>4.1.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>