@@ -16,19 +16,19 @@ configure(allprojects) { project ->
16
16
ext. aspectjVersion = " 1.7.4"
17
17
ext. groovyVersion = " 1.8.9"
18
18
ext. hibernate3Version = " 3.6.10.Final"
19
- ext. hibernate4Version = " 4.2.10 .Final"
19
+ ext. hibernate4Version = " 4.2.11 .Final"
20
20
ext. hibValVersion = " 4.3.1.Final"
21
- ext. hsqldbVersion = " 2.3.1 "
21
+ ext. hsqldbVersion = " 2.3.2 "
22
22
ext. jackson1Version = " 1.9.13"
23
23
ext. jackson2Version = " 2.3.1"
24
24
ext. jasperReportsVersion = " 5.5.1"
25
25
ext. jettyVersion = " 9.1.3.v20140225"
26
26
ext. jodaVersion = " 2.3"
27
27
ext. junitVersion = " 4.11"
28
- ext. slf4jVersion = " 1.7.5 "
28
+ ext. slf4jVersion = " 1.7.6 "
29
29
ext. tiles2Version = " 2.2.2"
30
30
ext. tiles3Version = " 3.0.3"
31
- ext. xstreamVersion = " 1.4.6 "
31
+ ext. xstreamVersion = " 1.4.7 "
32
32
33
33
ext. gradleScriptDir = " ${ rootProject.projectDir} /gradle"
34
34
@@ -82,9 +82,13 @@ configure(allprojects) { project ->
82
82
}
83
83
84
84
dependencies {
85
- testCompile(" junit:junit:${ junitVersion} " )
85
+ testCompile(" junit:junit:${ junitVersion} " ) {
86
+ exclude group :' org.hamcrest' , module :' hamcrest-core'
87
+ }
88
+ testCompile(" org.mockito:mockito-core:1.9.5" ) {
89
+ exclude group :' org.hamcrest' , module :' hamcrest-core'
90
+ }
86
91
testCompile(" org.hamcrest:hamcrest-all:1.3" )
87
- testCompile(" org.mockito:mockito-core:1.9.5" )
88
92
}
89
93
90
94
ext. javadocLinks = [
@@ -454,14 +458,23 @@ project("spring-oxm") {
454
458
dependencies {
455
459
compile(project(" :spring-beans" ))
456
460
compile(project(" :spring-core" ))
457
- optional(" com.thoughtworks.xstream:xstream:${ xstreamVersion} " )
461
+ optional(" org.codehaus.castor:castor-xml:1.3.2" ) {
462
+ exclude group : ' stax' , module : ' stax-api'
463
+ }
464
+ optional(" org.apache.xmlbeans:xmlbeans:2.6.0" ) {
465
+ exclude group : ' stax' , module : ' stax-api'
466
+ }
467
+ optional(" com.thoughtworks.xstream:xstream:${ xstreamVersion} " ) {
468
+ exclude group : ' xpp3' , module : ' xpp3_min'
469
+ exclude group : ' xmlpull' , module : ' xmlpull'
470
+ }
458
471
optional(" org.jibx:jibx-run:1.2.5" )
459
- optional(" org.apache.xmlbeans:xmlbeans:2.6.0" )
460
- optional(" org.codehaus.castor:castor-xml:1.3.2" )
461
472
testCompile(project(" :spring-context" ))
462
- testCompile(" org.codehaus.jettison:jettison:1.0.1" )
463
473
testCompile(" xmlunit:xmlunit:1.5" )
464
- testCompile(" xmlpull:xmlpull:1.1.3.4a" )
474
+ testCompile(" xpp3:xpp3:1.1.3.4.O" )
475
+ testCompile(" org.codehaus.jettison:jettison:1.0.1" ) {
476
+ exclude group : ' stax' , module : ' stax-api'
477
+ }
465
478
testCompile(files(genCastor. classesDir). builtBy(genCastor))
466
479
testCompile(files(genJaxb. classesDir). builtBy(genJaxb))
467
480
testCompile(files(genXmlbeans. classesDir). builtBy(genXmlbeans))
@@ -602,6 +615,7 @@ project("spring-websocket") {
602
615
optional(" io.undertow:undertow-core:1.0.0.Final" )
603
616
optional(" io.undertow:undertow-servlet:1.0.0.Final" ) {
604
617
exclude group : " org.jboss.spec.javax.servlet" , module : " jboss-servlet-api_3.1_spec"
618
+ exclude group : " org.jboss.spec.javax.annotation" , module : " jboss-annotations-api_1.2_spec"
605
619
}
606
620
optional(" io.undertow:undertow-websockets-jsr:1.0.0.Final" ) {
607
621
exclude group : " org.jboss.spec.javax.websocket" , module : " jboss-websocket-api_1.0_spec"
@@ -631,11 +645,25 @@ project("spring-orm") {
631
645
optional(" aopalliance:aopalliance:1.0" )
632
646
optional(" org.eclipse.persistence:javax.persistence:2.0.0" )
633
647
optional(" org.eclipse.persistence:org.eclipse.persistence.core:2.4.0" )
634
- optional(" org.eclipse.persistence:org.eclipse.persistence.jpa:2.4.0" )
635
- optional(" org.hibernate:hibernate-core:${ hibernate3Version} " )
636
- optional(" org.hibernate:hibernate-entitymanager:${ hibernate3Version} " )
637
- optional(" org.apache.openjpa:openjpa:2.2.1" )
638
- optional(" javax.jdo:jdo-api:3.0" )
648
+ optional(" org.eclipse.persistence:org.eclipse.persistence.jpa:2.4.0" ) {
649
+ exclude group : ' org.eclipse.persistence' , module : ' javax.persistence'
650
+ }
651
+ optional(" org.hibernate:hibernate-core:${ hibernate3Version} " ) {
652
+ exclude group : ' org.hibernate.javax.persistence' , module : ' hibernate-jpa-2.0-api'
653
+ exclude group : ' javax.transaction' , module : ' jta'
654
+ }
655
+ optional(" org.hibernate:hibernate-entitymanager:${ hibernate3Version} " ) {
656
+ exclude group : ' org.hibernate.javax.persistence' , module : ' hibernate-jpa-2.0-api'
657
+ }
658
+ optional(" org.apache.openjpa:openjpa:2.2.1" ) {
659
+ exclude group : ' junit' , module : ' junit'
660
+ exclude group : ' org.apache.geronimo.specs' , module : ' geronimo-jpa_2.0_spec'
661
+ exclude group : ' org.apache.geronimo.specs' , module : ' geronimo-jta_1.1_spec'
662
+ exclude group : ' org.apache.geronimo.specs' , module : ' geronimo-jms_1.1_spec'
663
+ }
664
+ optional(" javax.jdo:jdo-api:3.0" ) {
665
+ exclude group : ' javax.transaction' , module : ' transaction-api'
666
+ }
639
667
optional(" javax.servlet:javax.servlet-api:3.0.1" )
640
668
testCompile(" commons-dbcp:commons-dbcp:1.4" )
641
669
testCompile(" org.hsqldb:hsqldb:${ hsqldbVersion} " )
@@ -699,6 +727,7 @@ project("spring-webmvc") {
699
727
}
700
728
optional(" org.apache.tiles:tiles-extras:${ tiles2Version} " ) {
701
729
exclude group : " org.slf4j" , module : " jcl-over-slf4j"
730
+ exclude group : " org.apache.velocity" , module : " velocity-tools"
702
731
exclude group : " org.springframework" , module : " spring-web"
703
732
}
704
733
testCompile(project(" :spring-aop" ))
@@ -812,7 +841,9 @@ project("spring-test") {
812
841
testCompile(project(" :spring-webmvc-tiles3" ))
813
842
testCompile(" javax.mail:mail:1.4.7" )
814
843
testCompile(" javax.ejb:ejb-api:3.0" )
815
- testCompile(" org.hibernate:hibernate-core:${ hibernate3Version} " )
844
+ testCompile(" org.hibernate:hibernate-core:${ hibernate3Version} " ) {
845
+ exclude group : ' org.hibernate.javax.persistence' , module : ' hibernate-jpa-2.0-api'
846
+ }
816
847
testCompile(" org.hibernate:hibernate-entitymanager:${ hibernate3Version} " )
817
848
testCompile(" org.hibernate:hibernate-validator:${ hibValVersion} " )
818
849
testCompile(" com.thoughtworks.xstream:xstream:${ xstreamVersion} " )
0 commit comments