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
1061d582
Commit
1061d582
authored
Feb 04, 2014
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix CLI package tangles
parent
70cb8cfe
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
15 deletions
+16
-15
DependencyAutoConfigurationTransformation.java
...i/compiler/DependencyAutoConfigurationTransformation.java
+2
-4
DependencyCustomizer.java
...ringframework/boot/cli/compiler/DependencyCustomizer.java
+1
-0
GroovyBeansTransformation.java
...ramework/boot/cli/compiler/GroovyBeansTransformation.java
+1
-1
GroovyCompiler.java
...org/springframework/boot/cli/compiler/GroovyCompiler.java
+2
-3
ResolveDependencyCoordinatesTransformation.java
.../compiler/ResolveDependencyCoordinatesTransformation.java
+3
-2
ArtifactCoordinatesResolver.java
...li/compiler/dependencies/ArtifactCoordinatesResolver.java
+1
-1
ManagedDependenciesArtifactCoordinatesResolver.java
...ncies/ManagedDependenciesArtifactCoordinatesResolver.java
+1
-1
ResolveDependencyCoordinatesTransformationTests.java
...iler/ResolveDependencyCoordinatesTransformationTests.java
+3
-2
ManagedDependenciesArtifactCoordinatesResolverTests.java
.../ManagedDependenciesArtifactCoordinatesResolverTests.java
+2
-1
No files found.
spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/DependencyAutoConfigurationTransformation.java
View file @
1061d582
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
org
.
springframework
.
boot
.
cli
.
compiler
.
transformation
;
package
org
.
springframework
.
boot
.
cli
.
compiler
;
import
groovy.lang.GroovyClassLoader
;
...
...
@@ -23,9 +23,7 @@ import org.codehaus.groovy.ast.ClassNode;
import
org.codehaus.groovy.ast.ModuleNode
;
import
org.codehaus.groovy.control.SourceUnit
;
import
org.codehaus.groovy.transform.ASTTransformation
;
import
org.springframework.boot.cli.compiler.ArtifactCoordinatesResolver
;
import
org.springframework.boot.cli.compiler.CompilerAutoConfiguration
;
import
org.springframework.boot.cli.compiler.DependencyCustomizer
;
import
org.springframework.boot.cli.compiler.dependencies.ArtifactCoordinatesResolver
;
/**
* {@link ASTTransformation} to apply
...
...
spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/DependencyCustomizer.java
View file @
1061d582
...
...
@@ -23,6 +23,7 @@ import org.codehaus.groovy.ast.AnnotationNode;
import
org.codehaus.groovy.ast.ClassNode
;
import
org.codehaus.groovy.ast.ModuleNode
;
import
org.codehaus.groovy.ast.expr.ConstantExpression
;
import
org.springframework.boot.cli.compiler.dependencies.ArtifactCoordinatesResolver
;
/**
* Customizer that allows dependencies to be added during compilation. Adding a dependency
...
...
spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyBeansTransformation.java
View file @
1061d582
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
org
.
springframework
.
boot
.
cli
.
compiler
.
transformation
;
package
org
.
springframework
.
boot
.
cli
.
compiler
;
import
java.lang.reflect.Modifier
;
import
java.util.ArrayList
;
...
...
spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/GroovyCompiler.java
View file @
1061d582
...
...
@@ -42,12 +42,11 @@ import org.codehaus.groovy.control.customizers.CompilationCustomizer;
import
org.codehaus.groovy.control.customizers.ImportCustomizer
;
import
org.codehaus.groovy.transform.ASTTransformation
;
import
org.codehaus.groovy.transform.ASTTransformationVisitor
;
import
org.springframework.boot.cli.compiler.dependencies.ArtifactCoordinatesResolver
;
import
org.springframework.boot.cli.compiler.dependencies.ManagedDependenciesArtifactCoordinatesResolver
;
import
org.springframework.boot.cli.compiler.grape.AetherGrapeEngine
;
import
org.springframework.boot.cli.compiler.grape.AetherGrapeEngineFactory
;
import
org.springframework.boot.cli.compiler.grape.GrapeEngineInstaller
;
import
org.springframework.boot.cli.compiler.transformation.DependencyAutoConfigurationTransformation
;
import
org.springframework.boot.cli.compiler.transformation.GroovyBeansTransformation
;
import
org.springframework.boot.cli.compiler.transformation.ResolveDependencyCoordinatesTransformation
;
import
org.springframework.boot.cli.util.ResourceUtils
;
/**
...
...
spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/ResolveDependencyCoordinatesTransformation.java
View file @
1061d582
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
org
.
springframework
.
boot
.
cli
.
compiler
.
transformation
;
package
org
.
springframework
.
boot
.
cli
.
compiler
;
import
groovy.lang.Grab
;
...
...
@@ -35,10 +35,11 @@ import org.codehaus.groovy.ast.expr.ConstantExpression;
import
org.codehaus.groovy.ast.expr.Expression
;
import
org.codehaus.groovy.control.SourceUnit
;
import
org.codehaus.groovy.transform.ASTTransformation
;
import
org.springframework.boot.cli.compiler.ArtifactCoordinatesResolver
;
import
org.springframework.boot.cli.compiler.
dependencies.
ArtifactCoordinatesResolver
;
/**
* {@link ASTTransformation} to resolve {@link Grab} artifact coordinates.
*
* @author Andy Wilkinson
* @author Phillip Webb
*/
...
...
spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/ArtifactCoordinatesResolver.java
→
spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/
dependencies/
ArtifactCoordinatesResolver.java
View file @
1061d582
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
org
.
springframework
.
boot
.
cli
.
compiler
;
package
org
.
springframework
.
boot
.
cli
.
compiler
.
dependencies
;
/**
* A resolver for artifacts' Maven coordinates, allowing a group id or version to be
...
...
spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/ManagedDependenciesArtifactCoordinatesResolver.java
→
spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/
dependencies/
ManagedDependenciesArtifactCoordinatesResolver.java
View file @
1061d582
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
org
.
springframework
.
boot
.
cli
.
compiler
;
package
org
.
springframework
.
boot
.
cli
.
compiler
.
dependencies
;
import
org.springframework.boot.dependency.tools.Dependency
;
import
org.springframework.boot.dependency.tools.ManagedDependencies
;
...
...
spring-boot-cli/src/test/java/org/springframework/boot/cli/compiler/ResolveDependencyCoordinatesTransformationTests.java
View file @
1061d582
...
...
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package
org
.
springframework
.
boot
.
cli
.
compiler
.
transformation
;
package
org
.
springframework
.
boot
.
cli
.
compiler
;
import
groovy.lang.Grab
;
...
...
@@ -42,7 +42,8 @@ import org.codehaus.groovy.control.io.ReaderSource;
import
org.codehaus.groovy.transform.ASTTransformation
;
import
org.junit.Before
;
import
org.junit.Test
;
import
org.springframework.boot.cli.compiler.ArtifactCoordinatesResolver
;
import
org.springframework.boot.cli.compiler.ResolveDependencyCoordinatesTransformation
;
import
org.springframework.boot.cli.compiler.dependencies.ArtifactCoordinatesResolver
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
mockito
.
Mockito
.
mock
;
...
...
spring-boot-cli/src/test/java/org/springframework/boot/cli/compiler/ManagedDependenciesArtifactCoordinatesResolverTests.java
→
spring-boot-cli/src/test/java/org/springframework/boot/cli/compiler/
dependencies/
ManagedDependenciesArtifactCoordinatesResolverTests.java
View file @
1061d582
...
...
@@ -14,10 +14,11 @@
* limitations under the License.
*/
package
org
.
springframework
.
boot
.
cli
.
compiler
;
package
org
.
springframework
.
boot
.
cli
.
compiler
.
dependencies
;
import
org.junit.Before
;
import
org.junit.Test
;
import
org.springframework.boot.cli.compiler.dependencies.ManagedDependenciesArtifactCoordinatesResolver
;
import
org.springframework.boot.dependency.tools.Dependency
;
import
org.springframework.boot.dependency.tools.ManagedDependencies
;
...
...
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