Merge pull request #797 from seanbright/osgi-manifest-headers

Restore OSGi manifest headers
This commit is contained in:
Jesse Wilson 2016-02-25 00:08:20 -05:00
commit 67bd3a2cf6
3 changed files with 33 additions and 0 deletions

14
gson/bnd.bnd Normal file
View File

@ -0,0 +1,14 @@
Bundle-SymbolicName: com.google.gson
Bundle-Name: ${project.name}
Bundle-Description: ${project.description}
Bundle-Vendor: Google Gson Project
Bundle-ContactAddress: ${project.parent.url}
Bundle-RequiredExecutionEnvironment: J2SE-1.5, JavaSE-1.6, JavaSE-1.7, JavaSE-1.8
-removeheaders: Private-Package
-exportcontents:\
com.google.gson,\
com.google.gson.annotations,\
com.google.gson.reflect,\
com.google.gson.stream

View File

@ -31,6 +31,18 @@
</links>
</configuration>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<goals>
<goal>bnd-process</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -74,6 +74,13 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<useDefaultManifestFile>true</useDefaultManifestFile>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>