I am trying to import Spring Batch Samples. I’ve added all the Maven groupids/artifacts/version as stated on the Spring Web site… But I can’t get the project to build. I’ve searched Jarfinder trying to find all the imports but still have this problem with the POM. since it was generated for me when I add Maven, I’m don’t know what to do. Thanks.
I get the error:
Non-resolvable parent POM: Failure to find org.springframework.batch:org.springframework.batch.parent:2.0.0.RELEASE in repo1.maven.org/maven2 was cached in local repository,resolution will not be attempted until updates are forced and ‘parent.relative.PATH’ points at wrong POM.
I am using SpringSource Toolsuite.
This is the code that’s displays the error.
<parent>
<groupId>org.springframework.batch</groupId>
<artifactId>org.springframework.batch.parent</artifactId>
<version>2.0.0.RELEASE</version>
<relativePath>../spring-batch-parent</relativePath>
</parent>
I think that the
artifactIdorg.springframework.batch.parentis wrong, and should be replaced withspring-batch-parent(see maven repository, for example: http://search.maven.org/#browse|301637886)