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
895daacd
Commit
895daacd
authored
Jan 14, 2014
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Roll spring-boot-maven-settings into the CLI
parent
719b47fa
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
48 deletions
+8
-48
pom.xml
pom.xml
+0
-1
pom.xml
spring-boot-cli/pom.xml
+4
-5
SettingsXmlRepositorySystemSessionAutoConfiguration.java
.../SettingsXmlRepositorySystemSessionAutoConfiguration.java
+1
-2
org.springframework.boot.cli.compiler.grape.RepositorySystemSessionAutoConfiguration
...i.compiler.grape.RepositorySystemSessionAutoConfiguration
+1
-0
SettingsXmlRepositorySystemSessionAutoConfigurationTests.java
...ingsXmlRepositorySystemSessionAutoConfigurationTests.java
+2
-1
pom.xml
spring-boot-maven-settings/pom.xml
+0
-38
org.springframework.boot.cli.compiler.grape.RepositorySystemSessionAutoConfiguration
...i.compiler.grape.RepositorySystemSessionAutoConfiguration
+0
-1
No files found.
pom.xml
View file @
895daacd
...
...
@@ -37,7 +37,6 @@
<module>
spring-boot-actuator
</module>
<module>
spring-boot-starters
</module>
<module>
spring-boot-cli
</module>
<module>
spring-boot-maven-settings
</module>
</modules>
</profile>
<profile>
...
...
spring-boot-cli/pom.xml
View file @
895daacd
...
...
@@ -36,11 +36,6 @@
<type>
pom
</type>
<scope>
import
</scope>
</dependency>
<dependency>
<groupId>
${project.groupId}
</groupId>
<artifactId>
spring-boot-maven-settings
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.codehaus.groovy
</groupId>
<artifactId>
groovy-xml
</artifactId>
...
...
@@ -82,6 +77,10 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
org.apache.maven
</groupId>
<artifactId>
maven-settings-builder
</artifactId>
</dependency>
<dependency>
<groupId>
org.eclipse.aether
</groupId>
<artifactId>
aether-api
</artifactId>
...
...
spring-boot-
maven-settings/src/main/java/org/springframework/boot/maven/settings
/SettingsXmlRepositorySystemSessionAutoConfiguration.java
→
spring-boot-
cli/src/main/java/org/springframework/boot/cli/compiler/grape
/SettingsXmlRepositorySystemSessionAutoConfiguration.java
View file @
895daacd
package
org
.
springframework
.
boot
.
maven
.
settings
;
package
org
.
springframework
.
boot
.
cli
.
compiler
.
grape
;
import
java.io.File
;
...
...
@@ -23,7 +23,6 @@ import org.eclipse.aether.util.repository.ConservativeAuthenticationSelector;
import
org.eclipse.aether.util.repository.DefaultAuthenticationSelector
;
import
org.eclipse.aether.util.repository.DefaultMirrorSelector
;
import
org.eclipse.aether.util.repository.DefaultProxySelector
;
import
org.springframework.boot.cli.compiler.grape.RepositorySystemSessionAutoConfiguration
;
/**
* Auto-configuration for a RepositorySystemSession that uses Maven's settings.xml to
...
...
spring-boot-cli/src/main/resources/META-INF/services/org.springframework.boot.cli.compiler.grape.RepositorySystemSessionAutoConfiguration
0 → 100644
View file @
895daacd
org.springframework.boot.cli.compiler.grape.SettingsXmlRepositorySystemSessionAutoConfiguration
\ No newline at end of file
spring-boot-
maven-settings/src/test/java/org/springframework/boot/maven/settings
/SettingsXmlRepositorySystemSessionAutoConfigurationTests.java
→
spring-boot-
cli/src/test/java/org/springframework/boot/cli/compiler/grape
/SettingsXmlRepositorySystemSessionAutoConfigurationTests.java
View file @
895daacd
package
org
.
springframework
.
boot
.
maven
.
settings
;
package
org
.
springframework
.
boot
.
cli
.
compiler
.
grape
;
import
org.apache.maven.repository.internal.MavenRepositorySystemUtils
;
import
org.apache.maven.settings.building.SettingsBuildingException
;
...
...
@@ -11,6 +11,7 @@ import org.junit.rules.ExpectedException;
import
org.junit.runner.RunWith
;
import
org.mockito.Mock
;
import
org.mockito.runners.MockitoJUnitRunner
;
import
org.springframework.boot.cli.compiler.grape.SettingsXmlRepositorySystemSessionAutoConfiguration
;
import
static
org
.
junit
.
Assert
.
assertNotNull
;
...
...
spring-boot-maven-settings/pom.xml
deleted
100644 → 0
View file @
719b47fa
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-parent
</artifactId>
<version>
0.5.0.BUILD-SNAPSHOT
</version>
<relativePath>
../spring-boot-parent
</relativePath>
</parent>
<artifactId>
spring-boot-maven-settings
</artifactId>
<packaging>
jar
</packaging>
<properties>
<main.basedir>
${basedir}/..
</main.basedir>
</properties>
<dependencies>
<!-- Compile -->
<dependency>
<groupId>
org.apache.maven
</groupId>
<artifactId>
maven-settings-builder
</artifactId>
</dependency>
<dependency>
<groupId>
org.eclipse.aether
</groupId>
<artifactId>
aether-api
</artifactId>
</dependency>
<dependency>
<groupId>
org.eclipse.aether
</groupId>
<artifactId>
aether-util
</artifactId>
</dependency>
<!-- Provided -->
<dependency>
<groupId>
${project.groupId}
</groupId>
<artifactId>
spring-boot-cli
</artifactId>
<version>
${project.version}
</version>
<scope>
provided
</scope>
</dependency>
</dependencies>
</project>
spring-boot-maven-settings/src/main/resources/META-INF/services/org.springframework.boot.cli.compiler.grape.RepositorySystemSessionAutoConfiguration
deleted
100644 → 0
View file @
719b47fa
org.springframework.boot.maven.settings.SettingsXmlRepositorySystemSessionAutoConfiguration
\ No newline at end of file
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