Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I set a dependency on Spring Web Services in my POM.xml

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 :)

like image 414
Ben Avatar asked Sep 05 '25 18:09

Ben


1 Answers

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>
like image 144
Pascal Thivent Avatar answered Sep 08 '25 10:09

Pascal Thivent