diff --git a/archetypes/simple-cli/.classpath b/archetypes/simple-cli/.classpath index 1205a46dc..eb92216d7 100644 --- a/archetypes/simple-cli/.classpath +++ b/archetypes/simple-cli/.classpath @@ -2,9 +2,9 @@ - - + + - + diff --git a/archetypes/simple-cli/.project b/archetypes/simple-cli/.project index 75e326eb6..68f2ca6e3 100644 --- a/archetypes/simple-cli/.project +++ b/archetypes/simple-cli/.project @@ -14,6 +14,11 @@ $ mvn archetype:create -DgroupId=com.mycompany -DartifactId=batch \ + + org.eclipse.wst.common.project.facet.core.builder + + + org.eclipse.jdt.core.javabuilder @@ -31,9 +36,11 @@ $ mvn archetype:create -DgroupId=com.mycompany -DartifactId=batch \ + com.springsource.platform.ide.facet.core.bundlenature org.springframework.ide.eclipse.core.springnature org.eclipse.jdt.core.javanature org.devzuz.q.maven.jdt.core.mavenNature + org.eclipse.wst.common.project.facet.core.nature diff --git a/archetypes/simple-cli/.settings/org.eclipse.wst.common.project.facet.core.xml b/archetypes/simple-cli/.settings/org.eclipse.wst.common.project.facet.core.xml new file mode 100644 index 000000000..af55bdf1a --- /dev/null +++ b/archetypes/simple-cli/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/archetypes/simple-cli/pom.xml b/archetypes/simple-cli/pom.xml index 04d73272b..5245c3ad2 100644 --- a/archetypes/simple-cli/pom.xml +++ b/archetypes/simple-cli/pom.xml @@ -6,7 +6,8 @@ simple-cli-archetype 2.0.0.CI-SNAPSHOT jar - Spring Batch Simple Commandline Archetype + Commandline + http://www.springframework.org/spring-batch/archetypes/simple-cli-archetype 1.5 + + org.apache.maven.plugins + maven-jar-plugin + + + src/main/resources/META-INF/MANIFEST.MF + + + + + org.apache.felix + maven-bundle-plugin + true + + target/generated-resources/META-INF + + ${bundle.symbolic.name} + !example,!test.* + + + + org.apache.maven.plugins maven-surefire-plugin diff --git a/archetypes/simple-cli/src/main/resources/META-INF/MANIFEST.MF b/archetypes/simple-cli/src/main/resources/META-INF/MANIFEST.MF new file mode 100644 index 000000000..0235ca886 --- /dev/null +++ b/archetypes/simple-cli/src/main/resources/META-INF/MANIFEST.MF @@ -0,0 +1,28 @@ +Manifest-Version: 1.0 +Import-Library: org.springframework.spring;version="[2.5.4.A,3.0.0)" +Import-Bundle: org.springframework.batch.core;version="[2.0.0,3.0.0)", + org.springframework.batch.infrastructure;version="[2.0.0,3.0.0)" +Created-By: 1.5.0_09 (Sun Microsystems Inc.) +Import-Package: org.apache.commons.logging;version="[1.1.0, 2.0.0)",or + g.springframework.batch.item.support;version="[2.0.0,3.0.0)" +Bnd-LastModified: 1216037156921 +Export-Package: example;uses:="org.springframework.batch.item.support, + org.apache.commons.logging";version="2.0.0.CI",test.jdbc.da + tasource;uses:="org.apache.commons.logging,org.springframework.jdbc.c + ore,org.springframework.transaction,org.springframework.beans.factory + .config,org.springframework.jdbc.datasource,org.springframework.core. + io,org.springframework.util,org.springframework.beans.factory,org.spr + ingframework.transaction.support";version="2.0.0.CI" +Bundle-Version: 2.0.0.CI-SNAPSHOT +Ignore-Package: example,test.jdbc.datasource +Bundle-Name: Spring Batch Simple Commandline Archetype +Bundle-Description: This project is a minimal command line batch sampl + e from Spring Batch. Once installed you can use "mvn exec:java" + to see the job run. +Private-Package: example;version="1.1.0.DEV-SNAPSHOT",test.jdbc.dataso + urce;version="1.1.0.DEV-SNAPSHOT" +Originally-Created-By: 1.5.0_09 (Sun Microsystems Inc.) +Bundle-ManifestVersion: 2 +Bundle-SymbolicName: org.springframework.batch.sample.archetype.cli +Tool: Bnd-0.0.255 + diff --git a/archetypes/simple-cli/src/site/site.xml b/archetypes/simple-cli/src/site/site.xml new file mode 100644 index 000000000..5fd09b5f2 --- /dev/null +++ b/archetypes/simple-cli/src/site/site.xml @@ -0,0 +1,19 @@ + + + + + Spring Batch: ${project.name} + index.html + + + + + + + + + + + + + diff --git a/archetypes/src/.project b/archetypes/src/.project new file mode 100644 index 000000000..605dd3c5a --- /dev/null +++ b/archetypes/src/.project @@ -0,0 +1,11 @@ + + + archetypes-src + + + + + + + + diff --git a/archetypes/src/site/site.xml b/archetypes/src/site/site.xml new file mode 100644 index 000000000..62ec37d46 --- /dev/null +++ b/archetypes/src/site/site.xml @@ -0,0 +1,20 @@ + + + + + Spring Batch: ${project.name} + index.html + + + + + + + + + + + + + +