SEC-2747: Remove spring-core dependency from spring-security-crypto
This commit is contained in:
parent
30c5788b8b
commit
dfa17bdb98
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':spring-security-core'),
|
compile project(':spring-security-core'),
|
||||||
|
springCoreDependency,
|
||||||
'aopalliance:aopalliance:1.0',
|
'aopalliance:aopalliance:1.0',
|
||||||
"org.springframework:spring-aop:$springVersion",
|
"org.springframework:spring-aop:$springVersion",
|
||||||
"org.springframework:spring-context:$springVersion",
|
"org.springframework:spring-context:$springVersion",
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':spring-security-core'),
|
compile project(':spring-security-core'),
|
||||||
|
springCoreDependency,
|
||||||
"org.springframework:spring-beans:$springVersion",
|
"org.springframework:spring-beans:$springVersion",
|
||||||
"org.springframework:spring-context:$springVersion"
|
"org.springframework:spring-context:$springVersion"
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':spring-security-core'),
|
compile project(':spring-security-core'),
|
||||||
project(':spring-security-web'),
|
project(':spring-security-web'),
|
||||||
|
springCoreDependency,
|
||||||
"org.springframework:spring-context:$springVersion",
|
"org.springframework:spring-context:$springVersion",
|
||||||
"org.springframework:spring-beans:$springVersion",
|
"org.springframework:spring-beans:$springVersion",
|
||||||
"org.springframework:spring-web:$springVersion",
|
"org.springframework:spring-web:$springVersion",
|
||||||
|
|
|
@ -10,6 +10,7 @@ compileTestJava.dependsOn(':spring-security-core:compileTestJava')
|
||||||
dependencies {
|
dependencies {
|
||||||
// NB: Don't add other compile time dependencies to the config module as this breaks tooling
|
// NB: Don't add other compile time dependencies to the config module as this breaks tooling
|
||||||
compile project(':spring-security-core'),
|
compile project(':spring-security-core'),
|
||||||
|
springCoreDependency,
|
||||||
'aopalliance:aopalliance:1.0',
|
'aopalliance:aopalliance:1.0',
|
||||||
"org.springframework:spring-aop:$springVersion",
|
"org.springframework:spring-aop:$springVersion",
|
||||||
"org.springframework:spring-context:$springVersion",
|
"org.springframework:spring-context:$springVersion",
|
||||||
|
|
|
@ -13,7 +13,8 @@ configurations {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'aopalliance:aopalliance:1.0',
|
compile springCoreDependency,
|
||||||
|
'aopalliance:aopalliance:1.0',
|
||||||
"org.springframework:spring-aop:$springVersion",
|
"org.springframework:spring-aop:$springVersion",
|
||||||
"org.springframework:spring-beans:$springVersion",
|
"org.springframework:spring-beans:$springVersion",
|
||||||
"org.springframework:spring-context:$springVersion",
|
"org.springframework:spring-context:$springVersion",
|
||||||
|
|
|
@ -49,18 +49,6 @@
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
|
||||||
<groupId>org.springframework</groupId>
|
|
||||||
<artifactId>spring-core</artifactId>
|
|
||||||
<version>4.1.0.RC2</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<artifactId>commons-logging</artifactId>
|
|
||||||
<groupId>commons-logging</groupId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>commons-logging</groupId>
|
<groupId>commons-logging</groupId>
|
||||||
<artifactId>commons-logging</artifactId>
|
<artifactId>commons-logging</artifactId>
|
||||||
|
@ -101,7 +89,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework</groupId>
|
<groupId>org.springframework</groupId>
|
||||||
<artifactId>spring-test</artifactId>
|
<artifactId>spring-test</artifactId>
|
||||||
<version>4.1.0.RC2</version>
|
<version>4.1.1.BUILD-SNAPSHOT</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':spring-security-core'),
|
compile project(':spring-security-core'),
|
||||||
|
springCoreDependency,
|
||||||
"org.springframework.data:spring-data-commons:$springDataCommonsVersion"
|
"org.springframework.data:spring-data-commons:$springDataCommonsVersion"
|
||||||
|
|
||||||
}
|
}
|
|
@ -58,6 +58,12 @@ ext.powerMockDependencies = [
|
||||||
"org.powermock:powermock-reflect:$powerMockVersion"
|
"org.powermock:powermock-reflect:$powerMockVersion"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
ext.springCoreDependency = [
|
||||||
|
dependencies.create("org.springframework:spring-core:$springVersion") {
|
||||||
|
exclude(group: 'commons-logging', module: 'commons-logging')
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
ext.jstlDependencies = [
|
ext.jstlDependencies = [
|
||||||
"javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api:$jstlVersion",
|
"javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api:$jstlVersion",
|
||||||
"org.apache.taglibs:taglibs-standard-jstlel:1.2.1"
|
"org.apache.taglibs:taglibs-standard-jstlel:1.2.1"
|
||||||
|
@ -115,10 +121,6 @@ check.dependsOn integrationTest
|
||||||
dependencies {
|
dependencies {
|
||||||
optional 'commons-logging:commons-logging:1.1.1'
|
optional 'commons-logging:commons-logging:1.1.1'
|
||||||
|
|
||||||
compile ("org.springframework:spring-core:$springVersion") {
|
|
||||||
exclude(group: 'commons-logging', module: 'commons-logging')
|
|
||||||
}
|
|
||||||
|
|
||||||
testCompile 'junit:junit:4.11',
|
testCompile 'junit:junit:4.11',
|
||||||
'org.mockito:mockito-core:1.9.5',
|
'org.mockito:mockito-core:1.9.5',
|
||||||
"org.springframework:spring-test:$springVersion",
|
"org.springframework:spring-test:$springVersion",
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':spring-security-core'),
|
compile project(':spring-security-core'),
|
||||||
|
springCoreDependency,
|
||||||
"org.springframework:spring-beans:$springVersion",
|
"org.springframework:spring-beans:$springVersion",
|
||||||
"org.springframework:spring-context:$springVersion",
|
"org.springframework:spring-context:$springVersion",
|
||||||
"org.springframework:spring-tx:$springVersion"
|
"org.springframework:spring-tx:$springVersion"
|
||||||
|
|
|
@ -2,6 +2,7 @@ apply plugin: 'groovy'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':spring-security-core'),
|
compile project(':spring-security-core'),
|
||||||
|
springCoreDependency,
|
||||||
'aopalliance:aopalliance:1.0',
|
'aopalliance:aopalliance:1.0',
|
||||||
"org.springframework:spring-beans:$springVersion",
|
"org.springframework:spring-beans:$springVersion",
|
||||||
"org.springframework:spring-context:$springVersion",
|
"org.springframework:spring-context:$springVersion",
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':spring-security-core'),
|
compile project(':spring-security-core'),
|
||||||
project(':spring-security-web'),
|
project(':spring-security-web'),
|
||||||
|
springCoreDependency,
|
||||||
"org.springframework:spring-aop:$springVersion",
|
"org.springframework:spring-aop:$springVersion",
|
||||||
"org.springframework:spring-context:$springVersion",
|
"org.springframework:spring-context:$springVersion",
|
||||||
"org.springframework:spring-beans:$springVersion",
|
"org.springframework:spring-beans:$springVersion",
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':spring-security-core'),
|
compile project(':spring-security-core'),
|
||||||
'aopalliance:aopalliance:1.0',
|
'aopalliance:aopalliance:1.0',
|
||||||
|
springCoreDependency,
|
||||||
"org.springframework:spring-beans:$springVersion",
|
"org.springframework:spring-beans:$springVersion",
|
||||||
"org.springframework:spring-context:$springVersion",
|
"org.springframework:spring-context:$springVersion",
|
||||||
"org.springframework:spring-web:$springVersion"
|
"org.springframework:spring-web:$springVersion"
|
||||||
|
|
|
@ -5,6 +5,7 @@ dependencies {
|
||||||
compile project(':spring-security-core'),
|
compile project(':spring-security-core'),
|
||||||
project(':spring-security-web'),
|
project(':spring-security-web'),
|
||||||
project(':spring-security-acl'),
|
project(':spring-security-acl'),
|
||||||
|
springCoreDependency,
|
||||||
"org.springframework:spring-beans:$springVersion",
|
"org.springframework:spring-beans:$springVersion",
|
||||||
"org.springframework:spring-aop:$springVersion",
|
"org.springframework:spring-aop:$springVersion",
|
||||||
"org.springframework:spring-context:$springVersion",
|
"org.springframework:spring-context:$springVersion",
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':spring-security-core'),
|
compile project(':spring-security-core'),
|
||||||
project(':spring-security-web'),
|
project(':spring-security-web'),
|
||||||
|
springCoreDependency,
|
||||||
"org.springframework:spring-test:$springVersion"
|
"org.springframework:spring-test:$springVersion"
|
||||||
|
|
||||||
optional project(':spring-security-config')
|
optional project(':spring-security-config')
|
||||||
|
|
|
@ -2,6 +2,7 @@ apply plugin: 'groovy'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':spring-security-core'),
|
compile project(':spring-security-core'),
|
||||||
|
springCoreDependency,
|
||||||
'aopalliance:aopalliance:1.0',
|
'aopalliance:aopalliance:1.0',
|
||||||
"org.springframework:spring-beans:$springVersion",
|
"org.springframework:spring-beans:$springVersion",
|
||||||
"org.springframework:spring-context:$springVersion",
|
"org.springframework:spring-context:$springVersion",
|
||||||
|
|
Loading…
Reference in New Issue