Skip to content

Commit

Permalink
Reduce footprint by reusing existing bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
seime committed Feb 5, 2023
1 parent 0020450 commit 2274ad7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
16 changes: 9 additions & 7 deletions bundles/org.openhab.binding.august/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.9.0</version>
<version>2.8.9</version>
<scope>provided</scope>
</dependency>

<dependency>
Expand All @@ -48,25 +49,28 @@
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-cbor</artifactId>
<version>2.14.2</version>
<version>2.12.7</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.14.2</version>
<version>2.12.7</version>
<scope>provided</scope>
</dependency>

<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.14.2</version>
<version>2.12.7</version>
<scope>provided</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.14.2</version>
<version>2.12.7.1</version>
<scope>provided</scope>
</dependency>

<!-- <dependency>
Expand Down Expand Up @@ -110,14 +114,12 @@
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.okhttp</artifactId>
<version>4.10.0_3</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.okio</artifactId>
<version>3.2.0_2</version>
<scope>compile</scope>
</dependency>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@

<feature name="openhab-binding-august" description="August Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.okhttp/4.10.0_3</bundle>
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.okio/3.2.0_2</bundle>
<bundle dependency="true">mvn:org.json/json/20200518</bundle>
<bundle dependency="true">mvn:com.fasterxml.jackson.core/jackson-annotations/2.12.7</bundle>
<bundle dependency="true">mvn:com.fasterxml.jackson.core/jackson-core/2.12.7</bundle>
<bundle dependency="true">mvn:com.fasterxml.jackson.core/jackson-databind/2.12.7.1</bundle>
<bundle dependency="true">mvn:com.google.code.gson/gson/2.8.9</bundle>
<bundle dependency="true">mvn:org.json/json/20180813</bundle>

<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.august/${project.version}</bundle>

</feature>
Expand Down

0 comments on commit 2274ad7

Please sign in to comment.