<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:p="http://www.springframework.org/schema/p"
	xsi:schemaLocation="http://www.springframework.org/schema/batch http://www.springframework.org/schema/batch/spring-batch-2.2.xsd
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">

	<import resource="common-context.xml" />

	<job id="job" xmlns="http://www.springframework.org/schema/batch">
		<step id="s0" parent="step0" next="s1"/>
		<step id="s1" parent="failingStep">
			<stop on="FAILED" restart="s2" />
			<end on="*" />
		</step>
		<step id="s2" parent="step2" />
	</job>

	<bean id="step0" parent="step1" p:allowStartIfComplete="true"/>

</beans>