@@ -574,7 +574,7 @@ TR: OK. Added to diagram.--></para>
574
574
configure an application, your Maven dependencies will look like
575
575
this:</para >
576
576
577
- <para ><programlisting >< dependencies>
577
+ <para ><programlisting language = " xml " >< dependencies>
578
578
< dependency>
579
579
< groupId> org.springframework< /groupId>
580
580
< artifactId> spring-context< /artifactId>
@@ -593,7 +593,7 @@ TR: OK. Added to diagram.--></para>
593
593
developer snapshots), you need to specify the repository location in
594
594
your Maven configuration. For full releases:</para >
595
595
596
- <programlisting >< repositories>
596
+ <programlisting language = " xml " >< repositories>
597
597
< repository>
598
598
< id> com.springsource.repository.maven.release< /id>
599
599
< url> http://repo.springsource.org/release/< /url>
@@ -603,7 +603,7 @@ TR: OK. Added to diagram.--></para>
603
603
604
604
<para >For milestones:</para >
605
605
606
- <programlisting >< repositories>
606
+ <programlisting language = " xml " >< repositories>
607
607
< repository>
608
608
< id> com.springsource.repository.maven.milestone< /id>
609
609
< url> http://repo.springsource.org/milestone/< /url>
@@ -613,7 +613,7 @@ TR: OK. Added to diagram.--></para>
613
613
614
614
<para >And for snapshots:</para >
615
615
616
- <programlisting >< repositories>
616
+ <programlisting language = " xml " >< repositories>
617
617
< repository>
618
618
< id> com.springsource.repository.maven.snapshot< /id>
619
619
< url> http://repo.springsource.org/snapshot/< /url>
@@ -625,7 +625,7 @@ TR: OK. Added to diagram.--></para>
625
625
naming convention for the dependencies. The names are usually easy to
626
626
guess, e.g. in this case it is:</para >
627
627
628
- <programlisting >< dependencies>
628
+ <programlisting language = " xml " >< dependencies>
629
629
< dependency>
630
630
< groupId> org.springframework< /groupId>
631
631
< artifactId> org.springframework.context< /artifactId>
@@ -637,7 +637,7 @@ TR: OK. Added to diagram.--></para>
637
637
<para >You also need to declare the location of the repository
638
638
explicitly (only the URL is important):</para >
639
639
640
- <programlisting >< repositories>
640
+ <programlisting language = " xml " >< repositories>
641
641
< repository>
642
642
< id> com.springsource.repository.bundles.release< /id>
643
643
< url> http://repository.springsource.com/maven/bundles/release/< /url>
@@ -664,7 +664,7 @@ TR: OK. Added to diagram.--></para>
664
664
following resolvers to your
665
665
<filename >ivysettings.xml</filename >:</para >
666
666
667
- <programlisting >< resolvers>
667
+ <programlisting language = " xml " >< resolvers>
668
668
669
669
< url name="com.springsource.repository.bundles.release">
670
670
@@ -696,7 +696,7 @@ TR: OK. Added to diagram.--></para>
696
696
include in your dependencies section. For example (in
697
697
<filename >ivy.xml</filename >): </para >
698
698
699
- <programlisting >< dependency org="org.springframework"
699
+ <programlisting language = " xml " >< dependency org="org.springframework"
700
700
name="org.springframework.core" rev="3.0.0.RELEASE" conf="compile-> runtime"/> </programlisting >
701
701
</section >
702
702
</section >
@@ -755,7 +755,7 @@ TR: OK. Added to diagram.--></para>
755
755
the dependency, and because of the way that the Spring dependencies
756
756
are declared, you only have to do that once.</para >
757
757
758
- <programlisting >< dependencies>
758
+ <programlisting language = " xml " >< dependencies>
759
759
< dependency>
760
760
< groupId> org.springframework< /groupId>
761
761
< artifactId> spring-context< /artifactId>
@@ -803,7 +803,7 @@ TR: OK. Added to diagram.--></para>
803
803
the bridge, the SLF4J API, the binding to Log4J, and the Log4J
804
804
implementation itself. In Maven you would do that like this</para >
805
805
806
- <programlisting >< dependencies>
806
+ <programlisting language = " xml " >< dependencies>
807
807
< dependency>
808
808
< groupId> org.springframework< /groupId>
809
809
< artifactId> spring-context< /artifactId>
@@ -877,7 +877,7 @@ TR: OK. Added to diagram.--></para>
877
877
of the classpath). So for Maven users this is your dependency
878
878
declaration:</para >
879
879
880
- <programlisting >< dependencies>
880
+ <programlisting language = " xml " >< dependencies>
881
881
< dependency>
882
882
< groupId> org.springframework< /groupId>
883
883
< artifactId> spring-context< /artifactId>
0 commit comments