[BATCH-475] Added OSGi manifests

This commit is contained in:
nebhale
2008-03-20 16:24:02 +00:00
parent 6959c40158
commit 0151e86243
7 changed files with 300 additions and 10 deletions

View File

@@ -110,6 +110,15 @@
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>

View File

@@ -0,0 +1,98 @@
Manifest-Version: 1.0
Bundle-SymbolicName: org.springframework.batch.core
Bundle-Version: 1.0.0
Import-Package: edu.emory.mathcs.backport.java.util.concurrent;version
="[3.0.0, 4.0.0)";resolution:=optional,javax.sql,org.apache.commons.l
ang;version="[2.1,3.0)";resolution:=optional,org.apache.commons.lang.
builder;version="[2.1,3.0)";resolution:=optional,org.apache.commons.l
ogging;version="[1.1.0, 2.0.0)",org.springframework.batch.core;versio
n=1.0.0,org.springframework.batch.core.configuration;version=1.0.0,or
g.springframework.batch.core.configuration.support;version=1.0.0,org.
springframework.batch.core.converter;version=1.0.0,org.springframewor
k.batch.core.job;version=1.0.0,org.springframework.batch.core.launch;
version=1.0.0,org.springframework.batch.core.launch.support;version=1
.0.0,org.springframework.batch.core.listener;version=1.0.0,org.spring
framework.batch.core.repository;version=1.0.0,org.springframework.bat
ch.core.repository.dao;version=1.0.0,org.springframework.batch.core.r
epository.support;version=1.0.0,org.springframework.batch.core.resour
ce;version=1.0.0,org.springframework.batch.core.step;version=1.0.0,or
g.springframework.batch.core.step.item;version=1.0.0,org.springframew
ork.batch.core.step.skip;version=1.0.0,org.springframework.batch.core
.step.tasklet;version=1.0.0,org.springframework.batch.item;version="[
1.0.0,2.0.0)",org.springframework.batch.item.adapter;version="[1.0.0,
2.0.0)",org.springframework.batch.item.database.support;version="[1.0
.0,2.0.0)",org.springframework.batch.item.support;version="[1.0.0,2.0
.0)",org.springframework.batch.repeat;version="[1.0.0,2.0.0)",org.spr
ingframework.batch.repeat.exception;version="[1.0.0,2.0.0)",org.sprin
gframework.batch.repeat.listener;version="[1.0.0,2.0.0)",org.springfr
amework.batch.repeat.policy;version="[1.0.0,2.0.0)",org.springframewo
rk.batch.repeat.support;version="[1.0.0,2.0.0)",org.springframework.b
atch.retry;version="[1.0.0,2.0.0)",org.springframework.batch.retry.ba
ckoff;version="[1.0.0,2.0.0)",org.springframework.batch.retry.callbac
k;version="[1.0.0,2.0.0)",org.springframework.batch.retry.listener;ve
rsion="[1.0.0,2.0.0)",org.springframework.batch.retry.policy;version=
"[1.0.0,2.0.0)",org.springframework.batch.retry.support;version="[1.0
.0,2.0.0)",org.springframework.batch.support;version="[1.0.0,2.0.0)",
org.springframework.batch.support.transaction;version="[1.0.0,2.0.0)"
,org.springframework.beans;version="[2.0.0, 3.0.0)";resolution:=optio
nal,org.springframework.beans.factory.config;version="[2.0.0, 3.0.0)"
;resolution:=optional,org.springframework.context;version="[2.0.0, 3.
0.0)";resolution:=optional,org.springframework.context.support;versio
n="[2.0.0, 3.0.0)";resolution:=optional,org.springframework.core;vers
ion="[2.0.0, 3.0.0)";resolution:=optional,org.springframework.core.io
;version="[2.0.0, 3.0.0)";resolution:=optional,org.springframework.co
re.task;version="[2.0.0, 3.0.0)";resolution:=optional,org.springframe
work.dao;version="[2.0.0, 3.0.0)";resolution:=optional,org.springfram
ework.jdbc.core;version="[2.0.0, 3.0.0)";resolution:=optional,org.spr
ingframework.jdbc.core.support;version="[2.0.0, 3.0.0)";resolution:=o
ptional,org.springframework.jdbc.support.incrementer;version="[2.0.0,
3.0.0)";resolution:=optional,org.springframework.jdbc.support.lob;ve
rsion="[2.0.0, 3.0.0)";resolution:=optional,org.springframework.trans
action;version="[2.0.0, 3.0.0)";resolution:=optional,org.springframew
ork.transaction.support;version="[2.0.0, 3.0.0)";resolution:=optional
,org.springframework.util;version="[2.0.0, 3.0.0)";resolution:=option
al
Export-Package: org.springframework.batch.core;version=1.0.0;uses:="or
g.springframework.batch.item,org.springframework.batch.repeat",org.sp
ringframework.batch.core.configuration;version=1.0.0;uses:="org.sprin
gframework.batch.core,org.springframework.batch.core.repository",org.
springframework.batch.core.configuration.support;version=1.0.0;uses:=
"org.springframework.batch.core,org.springframework.batch.core.config
uration,org.springframework.batch.core.repository,org.springframework
.beans",org.springframework.batch.core.converter;version=1.0.0;uses:=
"org.springframework.batch.core",org.springframework.batch.core.job;v
ersion=1.0.0;uses:="org.springframework.batch.core,org.springframewor
k.batch.core.repository",org.springframework.batch.core.launch;versio
n=1.0.0;uses:="org.springframework.batch.core,org.springframework.bat
ch.core.repository",org.springframework.batch.core.launch.support;ver
sion=1.0.0;uses:="org.springframework.batch.core,org.springframework.
batch.core.configuration,org.springframework.batch.core.converter,org
.springframework.batch.core.launch,org.springframework.batch.core.rep
ository,org.springframework.core.task",org.springframework.batch.core
.listener;version=1.0.0;uses:="org.springframework.batch.core,org.spr
ingframework.batch.repeat",org.springframework.batch.core.repository;
version=1.0.0;uses:="org.springframework.batch.core",org.springframew
ork.batch.core.repository.dao;version=1.0.0;uses:="org.springframewor
k.batch.core,org.springframework.batch.item,org.springframework.dao,o
rg.springframework.jdbc.core,org.springframework.jdbc.support.increme
nter,org.springframework.jdbc.support.lob",org.springframework.batch.
core.repository.support;version=1.0.0;uses:="javax.sql,org.springfram
ework.batch.core,org.springframework.batch.core.repository,org.spring
framework.batch.core.repository.dao,org.springframework.batch.item.da
tabase.support",org.springframework.batch.core.resource;version=1.0.0
;uses:="org.springframework.batch.core,org.springframework.batch.core
.converter,org.springframework.core.io",org.springframework.batch.cor
e.step;version=1.0.0;uses:="org.springframework.batch.core,org.spring
framework.batch.repeat",org.springframework.batch.core.step.item;vers
ion=1.0.0;uses:="org.springframework.batch.core,org.springframework.b
atch.core.listener,org.springframework.batch.core.repository,org.spri
ngframework.batch.core.step,org.springframework.batch.core.step.skip,
org.springframework.batch.item,org.springframework.batch.item.support
,org.springframework.batch.repeat,org.springframework.batch.repeat.ex
ception,org.springframework.batch.repeat.support,org.springframework.
batch.retry,org.springframework.batch.retry.backoff,org.springframewo
rk.batch.retry.callback,org.springframework.core.task,org.springframe
work.transaction",org.springframework.batch.core.step.skip;version=1.
0.0,org.springframework.batch.core.step.tasklet;version=1.0.0;uses:="
org.springframework.batch.core,org.springframework.batch.core.reposit
ory,org.springframework.batch.repeat"

View File

@@ -0,0 +1,19 @@
Bundle-SymbolicName: org.springframework.batch.core
Bundle-Version: 1.0.0
Import-Template:
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.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
Unversioned-Imports:
javax.sql.*

View File

@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry including="**/*.java" kind="src" path="src/main/java"/>
<classpathentry excluding="**/*.java" kind="src" path="src/main/resources"/>
<classpathentry including="**/*.java" kind="src" output="bin/test-classes" path="src/test/java"/>
<classpathentry excluding="**/*.java" including="**" kind="src" output="bin/test-classes" path="src/test/resources"/>
<classpathentry excluding="**/*.java" kind="src" output="bin/test-classes" path="src/test/resources"/>
<classpathentry kind="con" path="org.devzuz.q.maven.jdt.core.mavenClasspathContainer"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin/classes"/>

View File

@@ -39,6 +39,24 @@
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -190,15 +208,6 @@
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>

View File

@@ -0,0 +1,128 @@
Manifest-Version: 1.0
Bundle-SymbolicName: org.springframework.batch.infrastructure
Bundle-Version: 1.0.0
Import-Package: com.ibatis.sqlmap.client;version="[2.3.0, 3.0.0)";reso
lution:=optional,edu.emory.mathcs.backport.java.util.concurrent;versi
on="[3.0.0, 4.0.0)";resolution:=optional,edu.emory.mathcs.backport.ja
va.util.concurrent.atomic;version="[3.0.0, 4.0.0)";resolution:=option
al,javax.jms;version=1.1.0;resolution:=optional,javax.sql,javax.xml.n
amespace,javax.xml.stream;version=1.2.0;resolution:=optional,javax.xm
l.stream.events;version=1.2.0;resolution:=optional,javax.xml.transfor
m,org.aopalliance.aop;version=1.0.0;resolution:=optional,org.aopallia
nce.intercept;version=1.0.0;resolution:=optional,org.apache.commons.l
ogging;version="[1.1.0, 2.0.0)",org.hibernate;version="[3.2.5.ga, 3.3
.0.ga)";resolution:=optional,org.hibernate.classic;version="[3.2.5.ga
, 3.3.0.ga)";resolution:=optional,org.springframework.aop;version="[2
.0.0, 3.0.0)";resolution:=optional,org.springframework.aop.framework;
version="[2.0.0, 3.0.0)";resolution:=optional,org.springframework.aop
.support;version="[2.0.0, 3.0.0)";resolution:=optional,org.springfram
ework.batch.item;version=1.0.0,org.springframework.batch.item.adapter
;version=1.0.0,org.springframework.batch.item.database;version=1.0.0,
org.springframework.batch.item.database.support;version=1.0.0,org.spr
ingframework.batch.item.file;version=1.0.0,org.springframework.batch.
item.file.mapping;version=1.0.0,org.springframework.batch.item.file.s
eparator;version=1.0.0,org.springframework.batch.item.file.transform;
version=1.0.0,org.springframework.batch.item.jms;version=1.0.0,org.sp
ringframework.batch.item.support;version=1.0.0,org.springframework.ba
tch.item.transform;version=1.0.0,org.springframework.batch.item.util;
version=1.0.0,org.springframework.batch.item.validator;version=1.0.0,
org.springframework.batch.item.xml;version=1.0.0,org.springframework.
batch.item.xml.oxm;version=1.0.0,org.springframework.batch.item.xml.s
tax;version=1.0.0,org.springframework.batch.repeat;version=1.0.0,org.
springframework.batch.repeat.callback;version=1.0.0,org.springframewo
rk.batch.repeat.context;version=1.0.0,org.springframework.batch.repea
t.exception;version=1.0.0,org.springframework.batch.repeat.intercepto
r;version=1.0.0,org.springframework.batch.repeat.listener;version=1.0
.0,org.springframework.batch.repeat.policy;version=1.0.0,org.springfr
amework.batch.repeat.support;version=1.0.0,org.springframework.batch.
retry;version=1.0.0,org.springframework.batch.retry.backoff;version=1
.0.0,org.springframework.batch.retry.callback;version=1.0.0,org.sprin
gframework.batch.retry.context;version=1.0.0,org.springframework.batc
h.retry.interceptor;version=1.0.0,org.springframework.batch.retry.lis
tener;version=1.0.0,org.springframework.batch.retry.policy;version=1.
0.0,org.springframework.batch.retry.support;version=1.0.0,org.springf
ramework.batch.support;version=1.0.0,org.springframework.batch.suppor
t.transaction;version=1.0.0,org.springframework.beans;version="[2.0.0
, 3.0.0)";resolution:=optional,org.springframework.beans.factory;vers
ion="[2.0.0, 3.0.0)";resolution:=optional,org.springframework.core;ve
rsion="[2.0.0, 3.0.0)";resolution:=optional,org.springframework.core.
io;version="[2.0.0, 3.0.0)";resolution:=optional,org.springframework.
core.task;version="[2.0.0, 3.0.0)";resolution:=optional,org.springfra
mework.dao;version="[2.0.0, 3.0.0)";resolution:=optional,org.springfr
amework.jdbc;version="[2.0.0, 3.0.0)";resolution:=optional,org.spring
framework.jdbc.core;version="[2.0.0, 3.0.0)";resolution:=optional,org
.springframework.jdbc.support;version="[2.0.0, 3.0.0)";resolution:=op
tional,org.springframework.jdbc.support.incrementer;version="[2.0.0,
3.0.0)";resolution:=optional,org.springframework.jms;version="[2.0.0,
3.0.0)";resolution:=optional,org.springframework.jms.core;version="[
2.0.0, 3.0.0)";resolution:=optional,org.springframework.orm.hibernate
3;version="[2.0.0, 3.0.0)";resolution:=optional,org.springframework.o
rm.ibatis;version="[2.0.0, 3.0.0)";resolution:=optional,org.springfra
mework.oxm;version="[1.0.0, 2.0.0)";resolution:=optional,org.springfr
amework.transaction;version="[2.0.0, 3.0.0)";resolution:=optional,org
.springframework.transaction.support;version="[2.0.0, 3.0.0)";resolut
ion:=optional,org.springframework.util;version="[2.0.0, 3.0.0)";resol
ution:=optional,org.springframework.validation;version="[2.0.0, 3.0.0
)";resolution:=optional,org.springframework.xml.transform;version="[1
.0.0, 2.0.0)";resolution:=optional
Export-Package: org.springframework.batch.item;version=1.0.0,org.sprin
gframework.batch.item.adapter;version=1.0.0;uses:="org.springframewor
k.batch.item",org.springframework.batch.item.database;version=1.0.0;u
ses:="com.ibatis.sqlmap.client,javax.sql,org.hibernate,org.springfram
ework.batch.item,org.springframework.dao,org.springframework.jdbc.cor
e,org.springframework.jdbc.support,org.springframework.orm.hibernate3
",org.springframework.batch.item.database.support;version=1.0.0;uses:
="com.ibatis.sqlmap.client,javax.sql,org.springframework.batch.item,o
rg.springframework.jdbc.core,org.springframework.jdbc.support.increme
nter,org.springframework.orm.ibatis",org.springframework.batch.item.f
ile;version=1.0.0;uses:="org.springframework.batch.item,org.springfra
mework.batch.item.file.mapping,org.springframework.batch.item.file.se
parator,org.springframework.batch.item.file.transform,org.springframe
work.core.io",org.springframework.batch.item.file.mapping;version=1.0
.0;uses:="org.springframework.beans.factory,org.springframework.valid
ation",org.springframework.batch.item.file.separator;version=1.0.0;us
es:="org.springframework.batch.item,org.springframework.core.io",org.
springframework.batch.item.file.transform;version=1.0.0;uses:="org.sp
ringframework.batch.item.file.mapping,org.springframework.batch.item.
transform",org.springframework.batch.item.jms;version=1.0.0;uses:="ja
vax.jms,org.springframework.jms.core",org.springframework.batch.item.
support;version=1.0.0;uses:="org.springframework.batch.item",org.spri
ngframework.batch.item.transform;version=1.0.0,org.springframework.ba
tch.item.util;version=1.0.0,org.springframework.batch.item.validator;
version=1.0.0;uses:="org.springframework.validation",org.springframew
ork.batch.item.xml;version=1.0.0;uses:="javax.xml.stream,org.springfr
amework.batch.item,org.springframework.core.io",org.springframework.b
atch.item.xml.oxm;version=1.0.0;uses:="javax.xml.stream,org.springfra
mework.oxm",org.springframework.batch.item.xml.stax;version=1.0.0;use
s:="javax.xml.namespace,javax.xml.stream,javax.xml.stream.events",org
.springframework.batch.repeat;version=1.0.0,org.springframework.batch
.repeat.callback;version=1.0.0;uses:="org.springframework.batch.item,
org.springframework.batch.repeat",org.springframework.batch.repeat.co
ntext;version=1.0.0;uses:="org.springframework.batch.repeat",org.spri
ngframework.batch.repeat.exception;version=1.0.0;uses:="org.springfra
mework.batch.repeat,org.springframework.batch.support",org.springfram
ework.batch.repeat.interceptor;version=1.0.0;uses:="org.aopalliance.i
ntercept,org.springframework.batch.repeat",org.springframework.batch.
repeat.listener;version=1.0.0;uses:="org.springframework.batch.repeat
",org.springframework.batch.repeat.policy;version=1.0.0;uses:="org.sp
ringframework.batch.repeat,org.springframework.batch.repeat.context",
org.springframework.batch.repeat.support;version=1.0.0;uses:="org.spr
ingframework.batch.repeat,org.springframework.batch.repeat.exception,
org.springframework.core.task",org.springframework.batch.retry;versio
n=1.0.0,org.springframework.batch.retry.backoff;version=1.0.0;uses:="
org.springframework.batch.retry",org.springframework.batch.retry.call
back;version=1.0.0;uses:="org.springframework.batch.item,org.springfr
amework.batch.retry",org.springframework.batch.retry.context;version=
1.0.0;uses:="org.springframework.batch.retry",org.springframework.bat
ch.retry.interceptor;version=1.0.0;uses:="org.aopalliance.intercept,o
rg.springframework.batch.retry",org.springframework.batch.retry.liste
ner;version=1.0.0;uses:="org.springframework.batch.retry",org.springf
ramework.batch.retry.policy;version=1.0.0;uses:="org.springframework.
batch.item,org.springframework.batch.retry,org.springframework.batch.
retry.callback,org.springframework.batch.support",org.springframework
.batch.retry.support;version=1.0.0;uses:="org.springframework.batch.r
etry,org.springframework.batch.retry.backoff",org.springframework.bat
ch.support;version=1.0.0;uses:="org.springframework.beans",org.spring
framework.batch.support.transaction;version=1.0.0;uses:="org.aopallia
nce.intercept,org.springframework.transaction,org.springframework.tra
nsaction.support"

View File

@@ -0,0 +1,26 @@
Bundle-SymbolicName: org.springframework.batch.infrastructure
Bundle-Version: 1.0.0
Import-Template:
com.ibatis.sqlmap.*;version="[2.3.0, 3.0.0)";resolution:=optional,
edu.emory.mathcs.backport.*;version="[3.0.0, 4.0.0)";resolution:=optional,
javax.jms.*;version=1.1.0;resolution:=optional,
javax.xml.stream.*;version=1.2.0;resolution:=optional,
org.aopalliance.*;version=1.0.0;resolution:=optional,
org.apache.commons.logging.*;version="[1.1.0, 2.0.0)",
org.hibernate.*;version="[3.2.5.ga, 3.3.0.ga)";resolution:=optional,
org.springframework.aop.*;version="[2.0.0, 3.0.0)";resolution:=optional,
org.springframework.beans.*;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.jms.*;version="[2.0.0, 3.0.0)";resolution:=optional,
org.springframework.orm.*;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.validation.*;version="[2.0.0, 3.0.0)";resolution:=optional,
org.springframework.oxm.*;version="[1.0.0, 2.0.0)";resolution:=optional,
org.springframework.xml.*;version="[1.0.0, 2.0.0)";resolution:=optional
Unversioned-Imports:
javax.sql.*,
javax.xml.namespace.*,
javax.xml.transform.*