diff --git a/archetypes/simple-cli/pom.xml b/archetypes/simple-cli/pom.xml index fe3997a01..e17caf22d 100644 --- a/archetypes/simple-cli/pom.xml +++ b/archetypes/simple-cli/pom.xml @@ -1,4 +1,5 @@ - + 4.0.0 org.springframework.batch org.springframework.batch.archetype.simple.cli @@ -10,7 +11,9 @@ @@ -50,29 +53,6 @@ - - manifest - - false - - - - - com.springsource.bundlor - com.springsource.bundlor.maven - - - bundlor-manifest - package - - manifest - - - - - - - @@ -139,9 +119,6 @@ com.springsource.bundlor com.springsource.bundlor.maven 1.0.0.M1B - - ${project.basedir}/src/main/resources/META-INF/MANIFEST.MF - maven-assembly-plugin @@ -205,6 +182,36 @@ + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + package + + copy-dependencies + + + ${project.build.directory}/lib + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + true + + org.springframework.batch.core.launch.support.CommandLineJobRunner + true + lib/ + + + + diff --git a/archetypes/simple-cli/src/main/resources/META-INF/MANIFEST.MF b/archetypes/simple-cli/src/main/resources/META-INF/MANIFEST.MF deleted file mode 100644 index bdd712f9e..000000000 Binary files a/archetypes/simple-cli/src/main/resources/META-INF/MANIFEST.MF and /dev/null differ diff --git a/archetypes/simple-cli/src/main/resources/META-INF/spring/module-context.xml b/archetypes/simple-cli/src/main/resources/META-INF/spring/module-context.xml index 43a531208..2789ae0d2 100644 --- a/archetypes/simple-cli/src/main/resources/META-INF/spring/module-context.xml +++ b/archetypes/simple-cli/src/main/resources/META-INF/spring/module-context.xml @@ -1,36 +1,30 @@ - + - Example job to get you started. It provides a skeleton for a typical batch application. - - - - - - - - - - - - - - - + Example job to get you started. It provides a + skeleton for a typical batch application. - - - - + + + + + + + - + + + - +