diff --git a/archetypes/pom.xml b/archetypes/pom.xml
index 2aaa38dff..0f18ba66d 100644
--- a/archetypes/pom.xml
+++ b/archetypes/pom.xml
@@ -2,9 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4.0.0
- org.springframework.batch
spring-batch-archetypes
- 1.1.0.DEV-SNAPSHOT
pom
Archetypes
@@ -18,6 +16,13 @@
]]>
+
+ org.springframework.batch
+ spring-batch
+ 1.1.0.DEV-SNAPSHOT
+ ..
+
+
simple-cli
diff --git a/archetypes/simple-cli/pom.xml b/archetypes/simple-cli/pom.xml
index d438c32e8..d3170eb59 100644
--- a/archetypes/simple-cli/pom.xml
+++ b/archetypes/simple-cli/pom.xml
@@ -19,8 +19,9 @@
true
2.5.5
+ ${pom.groupId}.sample.archetype.cli
-
+
strict
@@ -77,6 +78,13 @@
+
+
+ org.springframework.aws
+ spring-aws-maven
+ 1.2.2
+
+
org.apache.maven.plugins
@@ -99,7 +107,7 @@
org.springframework.batch.core.launch.support.CommandLineJobRunner
- example/simpleJob.xml
+ classpath:/META-INF/spring/module-context.xml
job1
@@ -115,4 +123,22 @@
+
+ http://www.springframework.org/download
+
+ staging
+ file:///${user.dir}/archetypes/simple-cli/target/staging
+
+
+ spring-milestone
+ Spring Milestone Repository
+ s3://maven.springframework.org/milestone
+
+
+ spring-snapshot
+ Spring Snapshot Repository
+ s3://maven.springframework.org/snapshot
+
+
+
diff --git a/archetypes/simple-cli/src/main/resources/example/simpleJob.xml b/archetypes/simple-cli/src/main/resources/META-INF/spring/module-context.xml
similarity index 100%
rename from archetypes/simple-cli/src/main/resources/example/simpleJob.xml
rename to archetypes/simple-cli/src/main/resources/META-INF/spring/module-context.xml
diff --git a/archetypes/simple-cli/src/test/java/example/ExampleJobConfigurationTests.java b/archetypes/simple-cli/src/test/java/example/ExampleJobConfigurationTests.java
index ba8eea23c..99aff5cb2 100644
--- a/archetypes/simple-cli/src/test/java/example/ExampleJobConfigurationTests.java
+++ b/archetypes/simple-cli/src/test/java/example/ExampleJobConfigurationTests.java
@@ -38,7 +38,7 @@ public class ExampleJobConfigurationTests extends AbstractDependencyInjectionSpr
* @see org.springframework.test.AbstractSingleSpringContextTests#getConfigLocations()
*/
protected String[] getConfigLocations() {
- return new String[] {"example/simpleJob.xml"};
+ return new String[] {"/META-INF/spring/module-context.xml"};
}
public void testSimpleProperties() throws Exception {