Replaced version number with eval
This commit is contained in:
@@ -674,23 +674,23 @@ public class HolidayEndpoint {
|
||||
Because we use JDOM, we must add some dependencies to the Maven <filename>pom.xml</filename>, which is in the
|
||||
root of our project directory. Here is the relevant section of the POM:
|
||||
</para>
|
||||
<programlisting><![CDATA[<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.ws</groupId>
|
||||
<artifactId>spring-ws-core</artifactId>
|
||||
<version>2.0.0-RC2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jdom</groupId>
|
||||
<artifactId>jdom</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jaxen</groupId>
|
||||
<artifactId>jaxen</artifactId>
|
||||
<version>1.1</version>
|
||||
</dependency>
|
||||
</dependencies>]]></programlisting>
|
||||
<programlisting><dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.ws</groupId>
|
||||
<artifactId>spring-ws-core</artifactId>
|
||||
<version><?eval ${project.version}?></version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jdom</groupId>
|
||||
<artifactId>jdom</artifactId>
|
||||
<version>1.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jaxen</groupId>
|
||||
<artifactId>jaxen</artifactId>
|
||||
<version>1.1</version>
|
||||
</dependency>
|
||||
</dependencies></programlisting>
|
||||
<para>
|
||||
Here is how we would configure these classes in our <filename>spring-ws-servlet.xml</filename>
|
||||
Spring XML configuration file, by using component scanning.
|
||||
|
||||
Reference in New Issue
Block a user