Skip to content

Commit 9f2695d

Browse files
committed
Replaced version number with eval
1 parent 206b6de commit 9f2695d

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

src/docbkx/tutorial.xml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -674,23 +674,23 @@ public class HolidayEndpoint {
674674
Because we use JDOM, we must add some dependencies to the Maven <filename>pom.xml</filename>, which is in the
675675
root of our project directory. Here is the relevant section of the POM:
676676
</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>&lt;dependencies&gt;
678+
&lt;dependency&gt;
679+
&lt;groupId&gt;org.springframework.ws&lt;/groupId&gt;
680+
&lt;artifactId&gt;spring-ws-core&lt;/artifactId&gt;
681+
&lt;version&gt;<?eval ${project.version}?>&lt;/version&gt;
682+
&lt;/dependency&gt;
683+
&lt;dependency&gt;
684+
&lt;groupId&gt;jdom&lt;/groupId&gt;
685+
&lt;artifactId&gt;jdom&lt;/artifactId&gt;
686+
&lt;version&gt;1.0&lt;/version&gt;
687+
&lt;/dependency&gt;
688+
&lt;dependency&gt;
689+
&lt;groupId&gt;jaxen&lt;/groupId&gt;
690+
&lt;artifactId&gt;jaxen&lt;/artifactId&gt;
691+
&lt;version&gt;1.1&lt;/version&gt;
692+
&lt;/dependency&gt;
693+
&lt;/dependencies&gt;</programlisting>
694694
<para>
695695
Here is how we would configure these classes in our <filename>spring-ws-servlet.xml</filename>
696696
Spring XML configuration file, by using component scanning.

0 commit comments

Comments
 (0)