Skip to content

Commit e56b3e6

Browse files
jenskordowskislandelle
authored andcommitted
Reenable osgi support (AsyncHttpClient#1605)
* reenable osgi support * accept javax.activation 1.1 to support karaf with java 8
1 parent 670e8d9 commit e56b3e6

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,29 @@
151151
</execution>
152152
</executions>
153153
</plugin>
154+
<plugin>
155+
<groupId>org.apache.felix</groupId>
156+
<artifactId>maven-bundle-plugin</artifactId>
157+
<version>3.0.1</version>
158+
<extensions>true</extensions>
159+
<configuration>
160+
<manifestLocation>META-INF</manifestLocation>
161+
<instructions>
162+
<Bundle-Version>$(replace;$(project.version);-SNAPSHOT;.$(tstamp;yyyyMMdd-HHmm))</Bundle-Version>
163+
<Bundle-Vendor>The AsyncHttpClient Project</Bundle-Vendor>
164+
<Import-Package>javax.activation;version="[1.1,2)", *</Import-Package>
165+
</instructions>
166+
</configuration>
167+
<executions>
168+
<execution>
169+
<id>osgi-bundle</id>
170+
<phase>package</phase>
171+
<goals>
172+
<goal>bundle</goal>
173+
</goals>
174+
</execution>
175+
</executions>
176+
</plugin>
154177
</plugins>
155178
<pluginManagement>
156179
<plugins>

0 commit comments

Comments
 (0)