Merge pull request #797 from seanbright/osgi-manifest-headers
Restore OSGi manifest headers
This commit is contained in:
commit
67bd3a2cf6
14
gson/bnd.bnd
Normal file
14
gson/bnd.bnd
Normal 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
|
12
gson/pom.xml
12
gson/pom.xml
|
@ -31,6 +31,18 @@
|
||||||
</links>
|
</links>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
|
7
pom.xml
7
pom.xml
|
@ -74,6 +74,13 @@
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<version>2.10.3</version>
|
<version>2.10.3</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<useDefaultManifestFile>true</useDefaultManifestFile>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user