Hello,
I would like to add the Spring WS dependency to my maven pom.xml file like so:
I got the above code from this webpage:Code:<dependency> <groupId>org.springframework.ws</groupId> <artifactId>spring-ws</artifactId> <version>2.0.2.RELEASE</version> </dependency>
When I got to
I can see that Spring WS 2.0.2 RELEASE is there, but with a "...-all.jar" file.
When I try to build my project with maven, I got the following error:
The contents of my local repository ("org\springframework\ws\spring-ws\2.0.2.RELEASE") for Spring WS looks as this:Code:[INFO] ------------------------------------------------------------------------ [INFO] Building SampleProject-1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: http://repo1.maven.org/maven2/org/springframework/ws/ spring-ws/2.0.2.RELEASE/spring-ws-2.0.2.RELEASE.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.739s [INFO] Finished at: Fri Jul 22 10:41:11 CEST 2011 [INFO] Final Memory: 2M/15M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project SampleProject: Could not resolve dependencies for project com.sample.test:SampleProject:jar:1.0-SNAPSHOT: Could not find artifact org.springframework.ws:spring-ws:jar:2.0.2.RELEASE in central (http://repo1.maven.org/maven2)
Code:_maven.repositories (1 kb) spring-ws-2.0.2.RELEASE.jar.lastUpdated (1 kb) spring-ws-2.0.2.RELEASE.pom (15 kb) spring-ws-2.0.2.RELEASE.pom.sha1 (1 kb)
I'm really stuck here - I hope anyone has an idea how to solve this.
Thanks a lot for your help!
UPDATE
The initial Maven error message, when first downloading the Spring WS jar, is the follwoing:
Maybe this helps?Code:[ERROR] Failed to execute goal on project ABC: Could not resolve dependencies for project ABC:jar:1.0-SNAPSHOT: Could not find artifact org.springframework.ws:spring-ws:jar:2.0.2.RELEASE in central (http://repo1.maven.org/maven2) -> [Help 1]


Reply With Quote