Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
b838513f
Commit
b838513f
authored
May 27, 2015
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade to Spring Framework 4.2.0.RC1
Closes gh-2947
parent
c5566e27
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
AetherGrapeEngineTests.java
...ework/boot/cli/compiler/grape/AetherGrapeEngineTests.java
+6
-4
pom.xml
spring-boot-dependencies/pom.xml
+1
-1
No files found.
spring-boot-cli/src/test/java/org/springframework/boot/cli/compiler/grape/AetherGrapeEngineTests.java
View file @
b838513f
/*
* Copyright 2012-201
4
the original author or authors.
* Copyright 2012-201
5
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.
...
...
@@ -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
());
}
...
...
@@ -92,7 +94,7 @@ public class AetherGrapeEngineTests {
List
<
RemoteRepository
>
repositories
=
(
List
<
RemoteRepository
>)
ReflectionTestUtils
.
getField
(
grapeEngine
,
"repositories"
);
assertEquals
(
1
,
repositories
.
size
());
assertEquals
(
2
,
repositories
.
size
());
assertEquals
(
"central-mirror"
,
repositories
.
get
(
0
).
getId
());
}
});
...
...
@@ -109,7 +111,7 @@ public class AetherGrapeEngineTests {
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
);
}
...
...
spring-boot-dependencies/pom.xml
View file @
b838513f
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment