SGF-315 - Re-activated Bundlor plugin to generate OSGi metadata.
Re-enabled the plugin and pointed it to the already existing template.mf. Polished up the template and make sure it refers to matching versions.
This commit is contained in:
@@ -29,7 +29,7 @@ apply plugin: 'idea'
|
||||
apply from: "$rootDir/maven.gradle"
|
||||
apply plugin: 'docbook-reference'
|
||||
apply plugin: 'org.asciidoctor.gradle.asciidoctor'
|
||||
//apply plugin: 'bundlor'
|
||||
apply plugin: 'bundlor'
|
||||
|
||||
//project.bundlor.bundleSymbolicName = "${bundleSymbolicName}"
|
||||
|
||||
@@ -137,6 +137,9 @@ javadoc {
|
||||
}
|
||||
|
||||
jar {
|
||||
|
||||
dependsOn = [ 'bundlor' ]
|
||||
|
||||
manifest.attributes['Implementation-Title'] = 'spring-data-gemfire'
|
||||
manifest.attributes['Implementation-Version'] = project.version
|
||||
|
||||
@@ -148,6 +151,10 @@ jar {
|
||||
}
|
||||
}
|
||||
|
||||
bundlor {
|
||||
manifestTemplate = file("template.mf").text
|
||||
}
|
||||
|
||||
// Reference documentation
|
||||
|
||||
reference {
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
antlrVersion=2.7.7
|
||||
aspectjVersion=1.7.4
|
||||
bundleSymbolicName=org.springframework.data.gemfire
|
||||
gemfire.range="[6.5, 9.0)"
|
||||
aspectjVersion=1.8.2
|
||||
gemfireVersion=8.0.0
|
||||
hamcrestVersion=1.3
|
||||
jacksonVersion=2.4.1
|
||||
|
||||
24
template.mf
24
template.mf
@@ -1,21 +1,15 @@
|
||||
Bundle-SymbolicName: org.springframework.data.gemfire
|
||||
Bundle-Name: Spring Data GemFire
|
||||
Bundle-Vendor: SpringSource
|
||||
Bundle-Vendor: Pivotal Software, Inc.
|
||||
Bundle-ManifestVersion: 2
|
||||
Import-Package:
|
||||
Import-Package:
|
||||
sun.reflect;version="0";resolution:=optional
|
||||
Import-Template:
|
||||
org.springframework.asm.*;version="[3.0.0, 4.0.0)",
|
||||
org.springframework.beans.*;version="[3.0.0, 4.0.0)",
|
||||
org.springframework.cache.*;version="[3.0.0, 4.0.0)",
|
||||
org.springframework.context.*;version="[3.0.0, 4.0.0)",
|
||||
org.springframework.core.*;version="[3.0.0, 4.0.0)",
|
||||
org.springframework.dao.*;version="[3.0.0, 4.0.0)",
|
||||
org.springframework.data.*;version="[1.2.0,2.0.0)",
|
||||
org.springframework.expression.*;version="[3.0.0, 4.0.0)",
|
||||
org.springframework.util.*;version="[3.0.0, 4.0.0)",
|
||||
org.springframework.transaction.*;version="[3.0.0, 4.0.0)",
|
||||
com.gemstone.*;version="[6.5, 8.0)",
|
||||
Import-Template:
|
||||
com.fasterxml.jackson.*;version="[2.4.1,3.0.0)";resolution:=optional,
|
||||
com.gemstone.*;version="[8.0.0,9.0.0)",
|
||||
org.aopalliance.*;version="[1.0.0, 2.0.0)";resolution:=optional,
|
||||
org.apache.commons.logging.*;version="[1.1.1, 2.0.0)",
|
||||
org.w3c.dom.*;version="0"
|
||||
org.aspectj.*;version="[1.8.2, 2.0.0)";resolution:=optional,
|
||||
org.springframework.*;version="[4.0.6, 5.0.0)",
|
||||
org.springframework.data.*;version="[1.9.0,2.0.0)",
|
||||
org.w3c.dom.*;version="0"
|
||||
|
||||
Reference in New Issue
Block a user