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
c60d6582
Commit
c60d6582
authored
Jun 18, 2015
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.2.x'
parents
a21b48a9
7d80f0ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
GrapeRootRepositorySystemSessionAutoConfigurationTests.java
...apeRootRepositorySystemSessionAutoConfigurationTests.java
+3
-1
SettingsXmlRepositorySystemSessionAutoConfigurationTests.java
...ingsXmlRepositorySystemSessionAutoConfigurationTests.java
+3
-1
No files found.
spring-boot-cli/src/test/java/org/springframework/boot/cli/compiler/grape/GrapeRootRepositorySystemSessionAutoConfigurationTests.java
View file @
c60d6582
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
package
org
.
springframework
.
boot
.
cli
.
compiler
.
grape
;
package
org
.
springframework
.
boot
.
cli
.
compiler
.
grape
;
import
java.io.File
;
import
org.apache.maven.repository.internal.MavenRepositorySystemUtils
;
import
org.apache.maven.repository.internal.MavenRepositorySystemUtils
;
import
org.eclipse.aether.DefaultRepositorySystemSession
;
import
org.eclipse.aether.DefaultRepositorySystemSession
;
import
org.eclipse.aether.RepositorySystem
;
import
org.eclipse.aether.RepositorySystem
;
...
@@ -103,7 +105,7 @@ public class GrapeRootRepositorySystemSessionAutoConfigurationTests {
...
@@ -103,7 +105,7 @@ public class GrapeRootRepositorySystemSessionAutoConfigurationTests {
assertThat
(
this
.
session
.
getLocalRepository
(),
is
(
notNullValue
()));
assertThat
(
this
.
session
.
getLocalRepository
(),
is
(
notNullValue
()));
assertThat
(
this
.
session
.
getLocalRepository
().
getBasedir
().
getAbsolutePath
(),
assertThat
(
this
.
session
.
getLocalRepository
().
getBasedir
().
getAbsolutePath
(),
endsWith
(
"/foo/
repository"
));
endsWith
(
File
.
separatorChar
+
"foo"
+
File
.
separatorChar
+
"
repository"
));
}
}
private
class
LocalRepositoryManagerAnswer
implements
Answer
<
LocalRepositoryManager
>
{
private
class
LocalRepositoryManagerAnswer
implements
Answer
<
LocalRepositoryManager
>
{
...
...
spring-boot-cli/src/test/java/org/springframework/boot/cli/compiler/grape/SettingsXmlRepositorySystemSessionAutoConfigurationTests.java
View file @
c60d6582
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
package
org
.
springframework
.
boot
.
cli
.
compiler
.
grape
;
package
org
.
springframework
.
boot
.
cli
.
compiler
.
grape
;
import
java.io.File
;
import
org.apache.maven.repository.internal.MavenRepositorySystemUtils
;
import
org.apache.maven.repository.internal.MavenRepositorySystemUtils
;
import
org.apache.maven.settings.building.SettingsBuildingException
;
import
org.apache.maven.settings.building.SettingsBuildingException
;
import
org.eclipse.aether.DefaultRepositorySystemSession
;
import
org.eclipse.aether.DefaultRepositorySystemSession
;
...
@@ -98,7 +100,7 @@ public class SettingsXmlRepositorySystemSessionAutoConfigurationTests {
...
@@ -98,7 +100,7 @@ public class SettingsXmlRepositorySystemSessionAutoConfigurationTests {
}
}
assertThat
(
session
.
getLocalRepository
().
getBasedir
().
getAbsolutePath
(),
assertThat
(
session
.
getLocalRepository
().
getBasedir
().
getAbsolutePath
(),
endsWith
(
"/bar/
repository"
));
endsWith
(
File
.
separatorChar
+
"bar"
+
File
.
separatorChar
+
"
repository"
));
}
}
private
void
assertSessionCustomization
(
String
userHome
)
{
private
void
assertSessionCustomization
(
String
userHome
)
{
...
...
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