@@ -674,23 +674,23 @@ public class HolidayEndpoint {
674
674
Because we use JDOM, we must add some dependencies to the Maven <filename >pom.xml</filename >, which is in the
675
675
root of our project directory. Here is the relevant section of the POM:
676
676
</para >
677
- <programlisting ><![CDATA[ < dependencies>
678
- < dependency>
679
- < groupId> org.springframework.ws< /groupId>
680
- < artifactId> spring-ws-core< /artifactId>
681
- < version>2.0.0-RC2< /version>
682
- < /dependency>
683
- < dependency>
684
- < groupId> jdom< /groupId>
685
- < artifactId> jdom< /artifactId>
686
- < version> 1.0< /version>
687
- < /dependency>
688
- < dependency>
689
- < groupId> jaxen< /groupId>
690
- < artifactId> jaxen< /artifactId>
691
- < version> 1.1< /version>
692
- < /dependency>
693
- < /dependencies> ]]> </programlisting >
677
+ <programlisting >< dependencies>
678
+ < dependency>
679
+ < groupId> org.springframework.ws< /groupId>
680
+ < artifactId> spring-ws-core< /artifactId>
681
+ < version > <? eval ${project. version}?> < /version>
682
+ < /dependency>
683
+ < dependency>
684
+ < groupId> jdom< /groupId>
685
+ < artifactId> jdom< /artifactId>
686
+ < version> 1.0< /version>
687
+ < /dependency>
688
+ < dependency>
689
+ < groupId> jaxen< /groupId>
690
+ < artifactId> jaxen< /artifactId>
691
+ < version> 1.1< /version>
692
+ < /dependency>
693
+ < /dependencies> </programlisting >
694
694
<para >
695
695
Here is how we would configure these classes in our <filename >spring-ws-servlet.xml</filename >
696
696
Spring XML configuration file, by using component scanning.
0 commit comments