From 7286b829f8efeb96eaf934ed9afd1266f40d5508 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Tue, 12 Jun 2012 19:59:51 +0200 Subject: [PATCH] Polished build. Set version number to 0.1.0.BUILD-SNAPSHOT to quickly allow releases while not doing an 1.0.0 release in the first place. Added Bundlor to generate an appropriate OSGi manifest. --- pom.xml | 37 ++++++++++++++++++++++++++++++++++++- template.mf | 7 +++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 template.mf diff --git a/pom.xml b/pom.xml index 8862a0b1..b637eb30 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.springframework.hateoas spring-hateoas - 1.0.0.BUILD-SNAPSHOT + 0.1.0.BUILD-SNAPSHOT Spring Hateoas @@ -57,6 +57,7 @@ 3.1.1.RELEASE + true @@ -119,6 +120,40 @@ 1.6 + + + com.springsource.bundlor + com.springsource.bundlor.maven + 1.0.0.RELEASE + + ${bundlor.failOnWarnings} + + + + bundlor + + bundlor + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.3.1 + + true + + + + + + + spring-plugins-release + http://repo.springsource.org/plugins-release + + \ No newline at end of file diff --git a/template.mf b/template.mf new file mode 100644 index 00000000..b9e5e557 --- /dev/null +++ b/template.mf @@ -0,0 +1,7 @@ +Bundle-SymbolicName: org.springframework.hateoas +Bundle-Name: Spring HATEOAS +Bundle-Vendor: SpringSource +Bundle-ManifestVersion: 2 +Import-Template: + javax.xml.bind.*;version="0", + org.springframework.*;version="${spring.version:[=.=.=,+1.0.0)}";resolution:=optional