Skip to content

Commit 5a2130a

Browse files
committed
Polish maven samples to xml language
Set the language attribute on the maven <programlisting> elements in the reference documentation to xml.
1 parent 2b6d724 commit 5a2130a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/reference/docbook/overview.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ TR: OK. Added to diagram.--></para>
574574
configure an application, your Maven dependencies will look like
575575
this:</para>
576576

577-
<para><programlisting>&lt;dependencies&gt;
577+
<para><programlisting language="xml">&lt;dependencies&gt;
578578
&lt;dependency&gt;
579579
&lt;groupId&gt;org.springframework&lt;/groupId&gt;
580580
&lt;artifactId&gt;spring-context&lt;/artifactId&gt;
@@ -593,7 +593,7 @@ TR: OK. Added to diagram.--></para>
593593
developer snapshots), you need to specify the repository location in
594594
your Maven configuration. For full releases:</para>
595595

596-
<programlisting>&lt;repositories&gt;
596+
<programlisting language="xml">&lt;repositories&gt;
597597
&lt;repository&gt;
598598
&lt;id&gt;com.springsource.repository.maven.release&lt;/id&gt;
599599
&lt;url&gt;http://repo.springsource.org/release/&lt;/url&gt;
@@ -603,7 +603,7 @@ TR: OK. Added to diagram.--></para>
603603

604604
<para>For milestones:</para>
605605

606-
<programlisting>&lt;repositories&gt;
606+
<programlisting language="xml">&lt;repositories&gt;
607607
&lt;repository&gt;
608608
&lt;id&gt;com.springsource.repository.maven.milestone&lt;/id&gt;
609609
&lt;url&gt;http://repo.springsource.org/milestone/&lt;/url&gt;
@@ -613,7 +613,7 @@ TR: OK. Added to diagram.--></para>
613613

614614
<para>And for snapshots:</para>
615615

616-
<programlisting>&lt;repositories&gt;
616+
<programlisting language="xml">&lt;repositories&gt;
617617
&lt;repository&gt;
618618
&lt;id&gt;com.springsource.repository.maven.snapshot&lt;/id&gt;
619619
&lt;url&gt;http://repo.springsource.org/snapshot/&lt;/url&gt;
@@ -625,7 +625,7 @@ TR: OK. Added to diagram.--></para>
625625
naming convention for the dependencies. The names are usually easy to
626626
guess, e.g. in this case it is:</para>
627627

628-
<programlisting>&lt;dependencies&gt;
628+
<programlisting language="xml">&lt;dependencies&gt;
629629
&lt;dependency&gt;
630630
&lt;groupId&gt;org.springframework&lt;/groupId&gt;
631631
&lt;artifactId&gt;org.springframework.context&lt;/artifactId&gt;
@@ -637,7 +637,7 @@ TR: OK. Added to diagram.--></para>
637637
<para>You also need to declare the location of the repository
638638
explicitly (only the URL is important):</para>
639639

640-
<programlisting>&lt;repositories&gt;
640+
<programlisting language="xml">&lt;repositories&gt;
641641
&lt;repository&gt;
642642
&lt;id&gt;com.springsource.repository.bundles.release&lt;/id&gt;
643643
&lt;url&gt;http://repository.springsource.com/maven/bundles/release/&lt;/url&gt;
@@ -664,7 +664,7 @@ TR: OK. Added to diagram.--></para>
664664
following resolvers to your
665665
<filename>ivysettings.xml</filename>:</para>
666666

667-
<programlisting>&lt;resolvers&gt;
667+
<programlisting language="xml">&lt;resolvers&gt;
668668

669669
&lt;url name="com.springsource.repository.bundles.release"&gt;
670670

@@ -696,7 +696,7 @@ TR: OK. Added to diagram.--></para>
696696
include in your dependencies section. For example (in
697697
<filename>ivy.xml</filename>): </para>
698698

699-
<programlisting>&lt;dependency org="org.springframework"
699+
<programlisting language="xml">&lt;dependency org="org.springframework"
700700
name="org.springframework.core" rev="3.0.0.RELEASE" conf="compile-&gt;runtime"/&gt;</programlisting>
701701
</section>
702702
</section>
@@ -755,7 +755,7 @@ TR: OK. Added to diagram.--></para>
755755
the dependency, and because of the way that the Spring dependencies
756756
are declared, you only have to do that once.</para>
757757

758-
<programlisting>&lt;dependencies&gt;
758+
<programlisting language="xml">&lt;dependencies&gt;
759759
&lt;dependency&gt;
760760
&lt;groupId&gt;org.springframework&lt;/groupId&gt;
761761
&lt;artifactId&gt;spring-context&lt;/artifactId&gt;
@@ -803,7 +803,7 @@ TR: OK. Added to diagram.--></para>
803803
the bridge, the SLF4J API, the binding to Log4J, and the Log4J
804804
implementation itself. In Maven you would do that like this</para>
805805

806-
<programlisting>&lt;dependencies&gt;
806+
<programlisting language="xml">&lt;dependencies&gt;
807807
&lt;dependency&gt;
808808
&lt;groupId&gt;org.springframework&lt;/groupId&gt;
809809
&lt;artifactId&gt;spring-context&lt;/artifactId&gt;
@@ -877,7 +877,7 @@ TR: OK. Added to diagram.--></para>
877877
of the classpath). So for Maven users this is your dependency
878878
declaration:</para>
879879

880-
<programlisting>&lt;dependencies&gt;
880+
<programlisting language="xml">&lt;dependencies&gt;
881881
&lt;dependency&gt;
882882
&lt;groupId&gt;org.springframework&lt;/groupId&gt;
883883
&lt;artifactId&gt;spring-context&lt;/artifactId&gt;

0 commit comments

Comments
 (0)