8000 Add OSGI metadata to google-http-client and google-http-client-jackson. · xiaodin1/google-http-java-client@a7aa045 · GitHub
[go: up one dir, main page]

Skip to content

Commit a7aa045

Browse files
elharomattwhisenhunt
authored andcommitted
Add OSGI metadata to google-http-client and google-http-client-jackson.
1 parent d04ea32 commit a7aa045

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

google-http-client-jackson/pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,28 @@
5454
</execution>
5555
</executions>
5656
</plugin>
57+
<plugin>
58+
<artifactId>maven-jar-plugin</artifactId>
59+
<configuration>
60+
<archive>
61+
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
62+
</archive>
63+
</configuration>
64+
</plugin>
65+
<plugin>
66+
<groupId>org.apache.felix</groupId>
67+
<artifactId>maven-bundle-plugin</artifactId>
68+
<version>2.5.4</version>
69+
<executions>
70+
<execution>
71+
<id>bundle-manifest</id>
72+
<phase>process-classes</phase>
73+
<goals>
74+
<goal>manifest</goal>
75+
</goals>
76+
</execution>
77+
</executions>
78+
</plugin>
5779
</plugins>
5880
</build>
5981
<dependencies>

google-http-client/pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,28 @@
100100
</execution>
101101
</executions>
102102
</plugin>
103+
<plugin>
104+
<artifactId>maven-jar-plugin</artifactId>
105+
<configuration>
106+
<archive>
107+
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
108+
</archive>
109+
</configuration>
110+
</plugin>
111+
<plugin>
112+
<groupId>org.apache.felix</groupId>
113+
<artifactId>maven-bundle-plugin</artifactId>
114+
<version>2.5.4</version>
115+
<executions>
116+
<execution>
117+
<id>bundle-manifest</id>
118+
<phase>process-classes</phase>
119+
<goals>
120+
<goal>manifest</goal>
121+
</goals>
122+
</execution>
123+
</executions>
124+
</plugin>
103125
</plugins>
104126
</build>
105127
<dependencies>

0 commit comments

Comments
 (0)
0