Skip to content

Commit

Permalink
Upgrade to Spring Framework 4.2.0.RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed May 27, 2015
1 parent c5566e2 commit b838513
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2014 the original author or authors.
* Copyright 2012-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -51,7 +51,9 @@ public class AetherGrapeEngineTests {
private AetherGrapeEngine createGrapeEngine() {
return AetherGrapeEngineFactory.create(this.groovyClassLoader, Arrays
.asList(new RepositoryConfiguration("central", URI
.create("http://repo1.maven.org/maven2"), false)),
.create("http://repo1.maven.org/maven2"), false),
new RepositoryConfiguration("spring-milestone", URI
.create("http://repo.spring.io/milestone"), false)),
new DependencyResolutionContext());
}

Expand Down Expand Up @@ -92,7 +94,7 @@ public void run() {

List<RemoteRepository> repositories = (List<RemoteRepository>) ReflectionTestUtils
.getField(grapeEngine, "repositories");
assertEquals(1, repositories.size());
assertEquals(2, repositories.size());
assertEquals("central-mirror", repositories.get(0).getId());
}
});
Expand All @@ -109,7 +111,7 @@ public void run() {

List<RemoteRepository> repositories = (List<RemoteRepository>) ReflectionTestUtils
.getField(grapeEngine, "repositories");
assertEquals(1, repositories.size());
assertEquals(2, repositories.size());
Authentication authentication = repositories.get(0).getAuthentication();
assertNotNull(authentication);
}
Expand Down
2 changes: 1 addition & 1 deletion spring-boot-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
<snakeyaml.version>1.15</snakeyaml.version>
<solr.version>4.10.4</solr.version>
<spock.version>1.0-groovy-2.4</spock.version>
<spring.version>4.2.0.BUILD-SNAPSHOT</spring.version>
<spring.version>4.2.0.RC1</spring.version>
<spring-amqp.version>1.5.0.M1</spring-amqp.version>
<spring-cloud-connectors.version>1.1.1.RELEASE</spring-cloud-connectors.version>
<spring-batch.version>3.0.4.RELEASE</spring-batch.version>
Expand Down

0 comments on commit b838513

Please sign in to comment.