Skip to content

Commit d631384

Browse files
Chandra GorantlaChandra Gorantla
authored andcommitted
Revert "Merge pull request #52 from OpenNMS/dependabot/maven/release-2.x/org.apache.servicemix.bundles-org.apache.servicemix.bundles.okhttp-4.10.0_3"
This reverts commit 0c1d9eb, reversing changes made to 1536a1d.
1 parent 2d9cd96 commit d631384

File tree

3 files changed

+15
-32
lines changed

3 files changed

+15
-32
lines changed

karaf-features/src/main/resources/features.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
<feature name="tss-cortex-okhttp" description="okhttp" version="${okhttp.version}">
2222
<bundle dependency="true">wrap:mvn:com.google.code.findbugs/jsr305/3.0.2</bundle>
23-
<bundle dependency="true">wrap:mvn:com.squareup.okio/okio/${okio.version}$Bundle-SymbolicName=okio&amp;Export-Package=okio;version=${okio.version}&amp;Import-Package=!okio*,kotlin*;resolution:=optional,*</bundle>
24-
<bundle dependency="true">wrap:mvn:com.squareup.okhttp3/okhttp/${okhttp.version}$Bundle-SymbolicName=okhttp3&amp;Bundle-Version=${okhttp.version}&amp;Export-Package=okhttp3;version=${okhttp.version}&amp;Import-Package=!okhttp3*,org.apache.http.*;resolution=optional,org.bouncycastle.*;resolution:=optional,org.openjsse.*;resolution:=optional,android.net.*;resolution:=optional,android.os.*;resolution:=optional,android.security.*;resolution:=optional,android.util.*;resolution:=optional,org.conscrypt.*;resolution:=optional,kotlin*;resolution:=optional,sun.security.ssl;resolution:=optional,dalvik.system;resolution:=optional,*</bundle>
23+
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.okio/${okio.bundle.version}</bundle>
24+
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.okhttp/${okhttp.bundle.version}</bundle>
2525
<bundle dependency="true">wrap:mvn:com.squareup.okhttp3/logging-interceptor/${okhttp.version}</bundle>
2626
</feature>
2727

plugin/pom.xml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828
<Karaf-Commands>*</Karaf-Commands>
2929
<!-- Nothing to export -->
3030
<Export-Package></Export-Package>
31-
<Import-Package>
32-
com.google.common.*;version="33",
33-
*
34-
</Import-Package>
3531
</instructions>
3632
</configuration>
3733
</plugin>
@@ -95,9 +91,15 @@
9591
<artifactId>guava</artifactId>
9692
</dependency>
9793
<dependency>
98-
<groupId>com.squareup.okhttp3</groupId>
99-
<artifactId>okhttp</artifactId>
100-
<version>${okhttp.version}</version>
94+
<groupId>org.apache.servicemix.bundles</groupId>
95+
<artifactId>org.apache.servicemix.bundles.okhttp</artifactId>
96+
<version>${okhttp.bundle.version}</version>
97+
<exclusions>
98+
<exclusion>
99+
<groupId>com.squareup.okio</groupId>
100+
<artifactId>okio</artifactId>
101+
</exclusion>
102+
</exclusions>
101103
</dependency>
102104
<dependency>
103105
<groupId>com.squareup.okhttp3</groupId>

pom.xml

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,13 @@
7272
<junit.version>4.13.2</junit.version>
7373
<karaf.version>4.3.10</karaf.version>
7474
<karaf.plugin.version>4.4.6</karaf.plugin.version>
75-
<kotlin.version>1.9.23</kotlin.version>
75+
<kotlin.version>1.9.10</kotlin.version>
7676
<log4j.version>2.23.1</log4j.version>
77-
<metrics.version>4.2.25</metrics.version>
7877
<mockito.version>5.12.0</mockito.version>
79-
<okio.version>3.9.0</okio.version>
78+
<metrics.version>4.2.25</metrics.version>
79+
<okio.bundle.version>1.15.0_1</okio.bundle.version>
8080
<okhttp.version>4.12.0</okhttp.version>
81+
<okhttp.bundle.version>3.13.1_1</okhttp.bundle.version>
8182
<opennms.api.version>1.0.0</opennms.api.version>
8283
<osgi.version>6.0.0</osgi.version>
8384
<osgi.compendium.version>5.0.0</osgi.compendium.version>
@@ -143,31 +144,11 @@
143144
<version>${metrics.version}</version>
144145
</dependency>
145146
<!-- pulled in by okhttp3 -->
146-
<dependency>
147-
<groupId>com.squareup.okio</groupId>
148-
<artifactId>okio</artifactId>
149-
<version>${okio.version}</version>
150-
</dependency>
151-
<dependency>
152-
<groupId>com.squareup.okio</groupId>
153-
<artifactId>okio-jvm</artifactId>
154-
<version>${okio.version}</version>
155-
</dependency>
156-
<dependency>
157-
<groupId>org.jetbrains.kotlin</groupId>
158-
<artifactId>kotlin-stdlib</artifactId>
159-
<version>${kotlin.version}</version>
160-
</dependency>
161147
<dependency>
162148
<groupId>org.jetbrains.kotlin</groupId>
163149
<artifactId>kotlin-stdlib-common</artifactId>
164150
<version>${kotlin.version}</version>
165151
</dependency>
166-
<dependency>
167-
<groupId>org.jetbrains.kotlin</groupId>
168-
<artifactId>kotlin-stdlib-jdk7</artifactId>
169-
<version>${kotlin.version}</version>
170-
</dependency>
171152
<dependency>
172153
<groupId>org.jetbrains.kotlin</groupId>
173154
<artifactId>kotlin-stdlib-jdk8</artifactId>

0 commit comments

Comments
 (0)