SGF-471 - Change spring-data-build and spring-data-commons dependency versions to GA releases...

Because Spring Data GemFire with Apache Geode support (apache-geode) is not part of the Spring Data Release Trains (e.g. Fowler, Gosling, Hopper, etc) it makes more sense to maintain a constant and stable dependency on both Spring Data Build and Spring Data Commons, respectively.  Until Apache Geode has an official GA release, SDG with Apache Geode support cannot progress along with the other SD modules during pre-release, development milestones (e.g. M1, RC1) since Apache Geode does not maintain a predictable and similar release cycle.  Therefore, it makes sense that SDG with Apache Geode support be coupled with the Apache Geode release cycle until the first GA release.  At which time, SDG with Apache Geode support can then maintain a constant, fixed dependency on Apache Geode, as a 'driver' (similar to SDG with Pivotal GemFire support, which depends only on GA GemFire releases) and subsequently, be sync'd with the SD Release Train.
This commit is contained in:
John Blum
2016-02-11 16:49:25 -08:00
parent 8044420950
commit 184f05bf30
4 changed files with 10 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ description = 'Spring Data GemFire'
group = 'org.springframework.data'
repositories {
maven { url "https://repo.spring.io/libs-snapshot" }
maven { url "https://repo.spring.io/libs-release" }
maven { url "https://repo.spring.io/plugins-release"}
maven { url "https://repository.apache.org/content/repositories/snapshots" }
}
@@ -40,7 +40,7 @@ if (project.hasProperty('platformVersion')) {
apply plugin: 'spring-io'
repositories {
maven { url "https://repo.spring.io/libs-snapshot" }
maven { url "https://repo.spring.io/libs-release" }
}
dependencyManagement {

View File

@@ -10,6 +10,6 @@ multiThreadedtcVersion=1.01
slf4jVersion=1.7.12
spring.range="[4.0.0, 5.0.0)"
springVersion=4.1.9.RELEASE
springDataBuildVersion=1.8.0.BUILD-SNAPSHOT
springDataCommonsVersion=1.12.0.BUILD-SNAPSHOT
springDataBuildVersion=1.7.3.RELEASE
springDataCommonsVersion=1.11.2.RELEASE
version=1.7.0.APACHE-GEODE-EA-SNAPSHOT

View File

@@ -59,7 +59,7 @@ public class GemfireQueryMethod extends QueryMethod {
public GemfireQueryMethod(Method method, RepositoryMetadata metadata, ProjectionFactory factory,
MappingContext<? extends GemfirePersistentEntity<?>, GemfirePersistentProperty> context) {
super(method, metadata, factory);
super(method, metadata);
Assert.notNull(context);
assertNonPagingQueryMethod(method);

View File

@@ -149,8 +149,12 @@ public class GemfireRepositoryFactory extends RepositoryFactorySupport {
protected QueryLookupStrategy getQueryLookupStrategy(Key key) {
return new QueryLookupStrategy() {
@Override
public RepositoryQuery resolveQuery(Method method, RepositoryMetadata metadata, NamedQueries namedQueries) {
return resolveQuery(method, metadata, null, namedQueries);
}
public RepositoryQuery resolveQuery(Method method, RepositoryMetadata metadata, ProjectionFactory factory,
NamedQueries namedQueries) {