Why I get artifact 'saxon:saxon:6.5.3@jar' not found


(Nehemia Litterat) #1

I try to compile Spring security examples and when I run the gradlew.bat eclipse command (under windows 7) I get the following error

Failed to notify build listener. > Failed to notify build listener.

Could not resolve all dependencies for configuration ‘:runtime’.

Artifact ‘saxon:saxon:6.5.3@jar’ not found. anybody ?


(Nehemia Litterat) #2

Well I found the problem

I removed all dependecies run the gradlew.bat eclipse It moved to some other error but later in the build process retuned the depenedcies now I get all the green messages

:buildSrc:compileJava UP-TO-DATE
  :buildSrc:compileGroovy UP-TO-DATE
  :buildSrc:processResources UP-TO-DATE
  :buildSrc:classes UP-TO-DATE
  :buildSrc:jar UP-TO-DATE
  :buildSrc:assemble UP-TO-DATE
  :buildSrc:compileTestJava UP-TO-DATE
  :buildSrc:compileTestGroovy UP-TO-DATE
  :buildSrc:processTestResources UP-TO-DATE
  :buildSrc:testClasses UP-TO-DATE
  :buildSrc:test UP-TO-DATE
  :buildSrc:check UP-TO-DATE
  :buildSrc:build UP-TO-DATE

but end up with

Trying to override old definition of datatype scp

Trying to override old definition of datatype sshexec

AES keysize limited to 128, skipping EncryptorsTests

Loading > Resolving dependencies ':spring-security-samples-cassample:classpath

‘appEngineSdkRoot’ must be set in gradle.properties

2012-07-11 13:16:04.635:INFO::Logging to STDERR via org.mortbay.log.StdErrLog

Loading > Resolving dependencies ‘:spring-security-samples-tutorial:classpath’

Building > :spring-security-crypto:compileJava > Resolving dependencies ':spri

:spring-security-crypto:compileJava

FAILURE: Build failed with an exception.

  • What went wrong:

Could not resolve all dependencies for configuration ':spring-security-crypto:co

mpile’.

Artifact ‘org.springframework:spring-core:3.0.7.RELEASE@jar’ not found.

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug

option to get more log output.

BUILD FAILED

Total time: 7.106 secs </code. HELP


(Peter Niederwieser) #3

That’s a question for the Spring Security developers. Seems like they (or some plugin) want you to set ‘appEngineSdkRoot’ in ‘gradle.properties’.