From 20c64e2469887d3ec1fdf466c0faf6e9cb91b330 Mon Sep 17 00:00:00 2001 From: Thomas Risberg Date: Fri, 13 Aug 2010 14:05:10 -0400 Subject: [PATCH] added OSGi metadata to build --- pom.xml | 70 +++++++++++++++++++++++++++++++++++++++++------------ template.mf | 9 +++++++ 2 files changed, 63 insertions(+), 16 deletions(-) create mode 100644 template.mf diff --git a/pom.xml b/pom.xml index 60b84c66b..c639412c5 100644 --- a/pom.xml +++ b/pom.xml @@ -146,9 +146,31 @@ persistence-api 1.0 - + + + + + maven-assembly-plugin + false + + + project + + + + + org.apache.maven.plugins + maven-jar-plugin + + + target/classes/META-INF/MANIFEST.MF + + + + + org.apache.maven.plugins @@ -199,27 +221,29 @@ org.apache.maven.plugins maven-surefire-plugin - 2.5 + + + **/*Tests.java + - **/*_Roo_* + **/Abstract*.java - org.apache.maven.plugins - maven-assembly-plugin - 2.2-beta-5 - - - jar-with-dependencies - - - - - org.apache.maven.plugins - maven-deploy-plugin - 2.5 + com.springsource.bundlor + com.springsource.bundlor.maven + 1.0.0.RELEASE + true + + + bundlor-transform + + bundlor + + + @@ -259,4 +283,18 @@ + + + Codehaus + http://repository.codehaus.org/ + + false + + + + com.springsource.repository.bundles.release + SpringSource Enterprise Bundle Repository + http://repository.springsource.com/maven/bundles/release + + diff --git a/template.mf b/template.mf new file mode 100644 index 000000000..85d6ead32 --- /dev/null +++ b/template.mf @@ -0,0 +1,9 @@ +Bundle-SymbolicName: org.springframework.data.commons +Bundle-Name: Spring Data Commons +Bundle-Vendor: SpringSource +Bundle-ManifestVersion: 2 +Import-Template: + org.springframework.core.*;version="[3.0.0, 4.0.0)", + org.springframework.dao.*;version="[3.0.0, 4.0.0)", + org.springframework.transaction.*;version="[3.0.0, 4.0.0)", + org.apache.commons.logging;version="[1.1.1, 2.0.0)"