SEC-1729: Fix openid4java guice dependencies to use Maven Central.

This commit is contained in:
Luke Taylor 2011-04-27 22:08:34 +01:00
parent a2858240f1
commit 6c9ab570a2
2 changed files with 8 additions and 2 deletions

View File

@ -12,7 +12,6 @@ allprojects {
repositories {
mavenLocal()
mavenCentral()
mavenRepo name: 'Google Guice', urls: 'http://guice-maven.googlecode.com/svn/trunk'
}
}

View File

@ -3,12 +3,19 @@
dependencies {
compile project(':spring-security-core'),
project(':spring-security-web'),
'org.openid4java:openid4java-nodeps:0.9.6',
"org.springframework:spring-aop:$springVersion",
"org.springframework:spring-context:$springVersion",
"org.springframework:spring-beans:$springVersion",
"org.springframework:spring-web:$springVersion"
// openid4java has a compile time dep on guice with a group
// name which is different from the maven central one.
// We use the maven central version here instead.
compile('org.openid4java:openid4java-nodeps:0.9.6') {
exclude group: 'com.google.code.guice', module: 'guice'
}
compile 'com.google.inject:guice:2.0'
provided 'javax.servlet:servlet-api:2.5'
runtime 'org.apache.httpcomponents:httpclient:4.1.1'