Tweak manifests and make OSGi projects into S2AP bundles

This commit is contained in:
dsyer
2008-07-17 07:55:13 +00:00
parent 7e412c75ff
commit e646cd8a16
15 changed files with 322 additions and 226 deletions

View File

@@ -1,4 +1,5 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>spring-batch-core</artifactId>
@@ -16,6 +17,10 @@
<relativePath>..</relativePath>
</parent>
<properties>
<bundle.symbolic.name>${pom.groupId}.core</bundle.symbolic.name>
</properties>
<profiles>
<profile>
<id>clover</id>
@@ -249,6 +254,34 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Import-Package><![CDATA[
edu.emory.mathcs.backport.*;version="[3.0.0, 4.0.0)";resolution:=optional,
org.apache.commons.lang.*;version="[2.1,3.0)";resolution:=optional,
org.apache.commons.logging.*;version="[1.1.0, 2.0.0)",
org.aopalliance.*;version=1.0.0,
org.springframework.batch.item.*;version="[1.0.0,2.0.0)",
org.springframework.batch.repeat.*;version="[1.0.0,2.0.0)",
org.springframework.batch.retry.*;version="[1.0.0,2.0.0)",
org.springframework.batch.support.*;version="[1.0.0,2.0.0)",
org.springframework.beans.*;version="[2.0.0, 3.0.0)";resolution:=optional,
org.springframework.context.*;version="[2.0.0, 3.0.0)";resolution:=optional,
org.springframework.core.*;version="[2.0.0, 3.0.0)";resolution:=optional,
org.springframework.dao.*;version="[2.0.0, 3.0.0)";resolution:=optional,
org.springframework.jdbc.*;version="[2.0.0, 3.0.0)";resolution:=optional,
org.springframework.transaction.*;version="[2.0.0, 3.0.0)";resolution:=optional,
org.springframework.util.*;version="[2.0.0, 3.0.0)";resolution:=optional,
org.springframework.batch.*,
org.springframework.*;version="[2.0.0, 3.0.0)",
javax.sql.*
]]></Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>