Skip to content

Commit

Permalink
Revert "Make OkHttp OSGi ready"
Browse files Browse the repository at this point in the history
This reverts commit 2b29196.
  • Loading branch information
squarejesse committed Jan 14, 2016
1 parent 5787300 commit c4dc872
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 116 deletions.
15 changes: 0 additions & 15 deletions okhttp-apache/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<version>3.1.0-SNAPSHOT</version>
</parent>

<packaging>bundle</packaging>
<artifactId>okhttp-apache</artifactId>
<name>OkHttp Apache HttpClient</name>

Expand Down Expand Up @@ -57,20 +56,6 @@
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
okhttp3.apache.*
</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
21 changes: 0 additions & 21 deletions okhttp-logging-interceptor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<version>3.1.0-SNAPSHOT</version>
</parent>

<packaging>bundle</packaging>
<artifactId>logging-interceptor</artifactId>
<name>OkHttp Logging Interceptor</name>

Expand Down Expand Up @@ -38,24 +37,4 @@
<scope>test</scope>
</dependency>
</dependencies>


<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
okhttp3.logging.*
</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
24 changes: 0 additions & 24 deletions okhttp-urlconnection/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<version>3.1.0-SNAPSHOT</version>
</parent>

<packaging>bundle</packaging>
<artifactId>okhttp-urlconnection</artifactId>
<name>OkHttp URLConnection</name>

Expand Down Expand Up @@ -51,29 +50,6 @@
</links>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Require-Bundle>
com.squareup.okhttp3.okhttp
</Require-Bundle>
<Export-Package>
!okhttp3.internal.*,
okhttp3.*;-split-package:=merge-first
</Export-Package>
<Import-Package>
android.*;resolution:=optional,
*
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
18 changes: 0 additions & 18 deletions okhttp-ws/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<version>3.1.0-SNAPSHOT</version>
</parent>

<packaging>bundle</packaging>
<artifactId>okhttp-ws</artifactId>
<name>OkHttp Web Sockets</name>

Expand All @@ -33,23 +32,6 @@
</links>
</configuration>
</plugin>


<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
!okhttp3.internal.ws.*,
okhttp3.ws.*;-noimport:=true
</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
20 changes: 0 additions & 20 deletions okhttp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<version>3.1.0-SNAPSHOT</version>
</parent>

<packaging>bundle</packaging>
<artifactId>okhttp</artifactId>
<name>OkHttp</name>

Expand Down Expand Up @@ -49,25 +48,6 @@
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
okhttp3.internal.*;-noimport:=true,
okhttp3.*;-noimport:=true
</Export-Package>
<Import-Package>
android.*;resolution:=optional,
*
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
18 changes: 0 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@

<!-- Test Dependencies -->
<junit.version>4.11</junit.version>

<!-- Plugin Dependencies -->
<maven.bundle.plugin.version>3.0.1</maven.bundle.plugin.version>
</properties>

<scm>
Expand Down Expand Up @@ -171,21 +168,6 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
</plugin>

<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>${maven.bundle.plugin.version}</version>
<extensions>true</extensions>
<executions>
<execution>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</pluginManagement>

Expand Down

0 comments on commit c4dc872

Please sign in to comment.