How do I set a dependency on Spring Web Services in my POM.xml
16,290
Well, 2.0.0-M1 is simply the latest version of spring-ws-core.
<dependency>
<groupId>org.springframework.ws</groupId>
<artifactId>spring-ws-core</artifactId>
<version>2.0.0-M1</version>
</dependency>
And actually, the current stable version is 1.5.9.
<dependency>
<groupId>org.springframework.ws</groupId>
<artifactId>spring-ws-core</artifactId>
<version>1.5.9</version>
</dependency>
Author by
Admin
Updated on June 08, 2022Comments
-
Admin almost 2 years
I get this on a lot of Maven dependencies, though current source of pain is Spring.
I'll set a Spring version and include it like so:
<spring-version>3.0.0.RELEASE</spring-version> <!-- Spring framework --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring-version}</version> </dependency>
Which works as expected.
I am however having problems setting my dependency on spring-ws-core for web services. The latest I can find in any repo is 2.0.0-M1.
http://mvnrepository.com/artifact/org.springframework.ws/spring-ws-core
Any clues on what I need to include in my maven POM to get Spring 3 web services to work :)
-
Admin about 14 yearsThanks very much - gets me further, but I'm not able to pick up an important class when I do this - package org.springframework.ws.server.endpoint does not exist Any clues on how to find which spring module I need to include in Maven to get this guy? Thanks
-
Decado about 14 yearsWith ivy, it's easy it automatically does the transitive stuff! There must be an equivalent mechanism in maven? springsource.com/repository/app/bundle/version/… This one seems to export that endpoint package...
-
Decado about 14 yearsYou can expand the required dependency bit to see what it all depends on. Transitive dependencies can suck a lot more in, so make sure you just use the scope/configuration that you actually need!