igladyshev (1) [Avatar] Offline
#1
I've just downloaded the book samples file and tried to build it with maven.Build works, but when I imported it into STS it shows many of errors like this:

Description Resource Path Location Type
Missing artifact org.apache.commons:com.springsource.org.apache.commons.logging:jar:1.1.1:compile pom.xml /sbia-parent line 1 Maven Problem

Please advise
arnaud.cogoluegnes (73) [Avatar] Offline
#2
Re: Downloaded code sample maven build fails
hi,

I've just tried on a SVN checkout of the source code and on a freshly installed STS 2.7.1, it worked for me (no errors in STS).

Did you use the last version of the source code? (do a SVN checkout or export from https://springbatch-in-action.googlecode.com/svn/trunk/sbia)

Did you import the projects from STS, as Maven projects, using the root module? (from the sbia/ directory).

Arnaud