Change package names zero->boot
* actuator -> boot-ops * cli -> boot-cli * launcher -> boot-load * autoconfig -> boot-config * bootstrap -> boot-strap * starters -> boot-up [#54095231] [bs-253] Refactor Zero->Boot
This commit is contained in:
parent
b2873fbc2d
commit
2098e23fca
24
README.md
24
README.md
|
@ -43,7 +43,7 @@ or above.
|
|||
|
||||
An `alias` can be used for the Spring Zero command line tool:
|
||||
|
||||
$ alias spring="java -jar ~/.m2/repository/org/springframework/zero/spring-cli/0.5.0.BUILD-SNAPSHOT/spring-cli-0.5.0.BUILD-SNAPSHOT.jar"
|
||||
$ alias spring="java -jar ~/.m2/repository/org/springframework/boot/spring-cli/0.5.0.BUILD-SNAPSHOT/spring-cli-0.5.0.BUILD-SNAPSHOT.jar"
|
||||
|
||||
_Also see [docs/CONTRIBUTING](docs/CONTRIBUTING.md) if you want to submit pull requests._
|
||||
|
||||
|
@ -167,22 +167,22 @@ Groovy samples for use with the command line application are available in
|
|||
[spring-cli/samples](spring-cli/samples/#). To run the CLI samples type
|
||||
`spring run <sample>.groovy` from samples directory.
|
||||
|
||||
Java samples are available in [spring-zero-sample](spring-zero-samples/#) and should
|
||||
Java samples are available in [spring-boot-sample](spring-boot-samples/#) and should
|
||||
be build with maven and run use `java -jar target/<sample>.jar`. The following java
|
||||
samples are provided:
|
||||
|
||||
* spring-zero-sample-simple - A simple command line application
|
||||
* spring-zero-sample-tomcat - Embedded Tomcat
|
||||
* spring-zero-sample-jetty - Embedded Jetty
|
||||
* spring-zero-sample-actuator - Simple REST service with production features
|
||||
* spring-zero-sample-actuator-ui - A web UI example with production features
|
||||
* spring-zero-sample-web-ui - A thymeleaf web application
|
||||
* spring-boot-sample-simple - A simple command line application
|
||||
* spring-boot-sample-tomcat - Embedded Tomcat
|
||||
* spring-boot-sample-jetty - Embedded Jetty
|
||||
* spring-boot-sample-actuator - Simple REST service with production features
|
||||
* spring-boot-sample-actuator-ui - A web UI example with production features
|
||||
* spring-boot-sample-web-ui - A thymeleaf web application
|
||||
* spring-sample-batch - Define and run a Batch job in a few lines of code
|
||||
* spring-sample-data-jpa - Spring Data JPA + Hibernate + HSQLDB
|
||||
* spring-zero-sample-integration - A spring integration application
|
||||
* spring-zero-sample-profile - example showing Spring's `@profile` support
|
||||
* spring-zero-sample-traditional - shows Spring Zero with more traditional WAR packaging
|
||||
* spring-boot-sample-integration - A spring integration application
|
||||
* spring-boot-sample-profile - example showing Spring's `@profile` support
|
||||
* spring-boot-sample-traditional - shows Spring Zero with more traditional WAR packaging
|
||||
(but also executable using `java -jar`)
|
||||
* spring-zero-sample-xml - Example show how Spring Zero can be mixed with trditional XML
|
||||
* spring-boot-sample-xml - Example show how Spring Zero can be mixed with trditional XML
|
||||
configuration
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ changes just won't be automatically formatted._
|
|||
|
||||
With the requisite eclipse plugins installed you can select
|
||||
`import existing maven projects` from the `file` menu to import the code. You will
|
||||
need to import the root `spring-zero` pom and the `spring-zero-samples` pom separately.
|
||||
need to import the root `spring-boot` pom and the `spring-boot-samples` pom separately.
|
||||
|
||||
|
||||
### Importing into eclipse without m2eclipse
|
||||
|
|
28
pom.xml
28
pom.xml
|
@ -2,8 +2,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>
|
||||
<groupId>org.springframework.zero</groupId>
|
||||
<artifactId>spring-zero</artifactId>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot</artifactId>
|
||||
<version>0.5.0.BUILD-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
<prerequisites>
|
||||
|
@ -25,9 +25,9 @@
|
|||
<reactor.version>1.0.0.M1</reactor.version>
|
||||
</properties>
|
||||
<scm>
|
||||
<url>http://github.com/SpringSource/spring-bootstrap</url>
|
||||
<connection>scm:git:git://github.com/SpringSource/spring-bootstrap.git</connection>
|
||||
<developerConnection>scm:git:ssh://git@github.com/SpringSource/spring-bootstrap.git</developerConnection>
|
||||
<url>http://github.com/SpringSource/spring-boot</url>
|
||||
<connection>scm:git:git://github.com/SpringSource/spring-boot.git</connection>
|
||||
<developerConnection>scm:git:ssh://git@github.com/SpringSource/spring-boot.git</developerConnection>
|
||||
</scm>
|
||||
<developers>
|
||||
<developer>
|
||||
|
@ -37,14 +37,14 @@
|
|||
</developer>
|
||||
</developers>
|
||||
<modules>
|
||||
<module>spring-bootstrap</module>
|
||||
<module>spring-autoconfigure</module>
|
||||
<module>spring-starters</module>
|
||||
<module>spring-actuator</module>
|
||||
<module>spring-launcher</module>
|
||||
<module>spring-package-maven-plugin</module>
|
||||
<module>spring-cli</module>
|
||||
<module>spring-zero-integration-tests</module>
|
||||
<module>spring-boot-strap</module>
|
||||
<module>spring-boot-config</module>
|
||||
<module>spring-boot-ops</module>
|
||||
<module>spring-boot-load</module>
|
||||
<module>spring-boot-maven-plugin</module>
|
||||
<module>spring-boot-ups</module>
|
||||
<module>spring-boot-cli</module>
|
||||
<module>spring-boot-integration-tests</module>
|
||||
</modules>
|
||||
<build>
|
||||
<pluginManagement>
|
||||
|
@ -663,7 +663,7 @@
|
|||
<downloadUrl>http://www.springsource.com/download/community</downloadUrl>
|
||||
<site>
|
||||
<id>spring-docs</id>
|
||||
<url>scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-bootstrap/docs/${project.version}</url>
|
||||
<url>scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-boot/docs/${project.version}</url>
|
||||
</site>
|
||||
<repository>
|
||||
<id>spring-repo-release</id>
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
org.springframework.autoconfigure.EnableAutoConfiguration=\
|
||||
org.springframework.actuate.autoconfigure.AuditAutoConfiguration,\
|
||||
org.springframework.actuate.autoconfigure.EndpointAutoConfiguration,\
|
||||
org.springframework.actuate.autoconfigure.EndpointWebMvcAutoConfiguration,\
|
||||
org.springframework.actuate.autoconfigure.ErrorMvcAutoConfiguration,\
|
||||
org.springframework.actuate.autoconfigure.ManagementServerPropertiesAutoConfiguration,\
|
||||
org.springframework.actuate.autoconfigure.MetricFilterAutoConfiguration,\
|
||||
org.springframework.actuate.autoconfigure.MetricRepositoryAutoConfiguration,\
|
||||
org.springframework.actuate.autoconfigure.SecurityAutoConfiguration,\
|
||||
org.springframework.actuate.autoconfigure.TraceRepositoryAutoConfiguration,\
|
||||
org.springframework.actuate.autoconfigure.TraceWebFilterAutoConfiguration
|
|
@ -1,15 +0,0 @@
|
|||
# Auto Configure
|
||||
org.springframework.autoconfigure.EnableAutoConfiguration=\
|
||||
org.springframework.autoconfigure.MessageSourceAutoConfiguration,\
|
||||
org.springframework.autoconfigure.PropertyPlaceholderAutoConfiguration,\
|
||||
org.springframework.autoconfigure.batch.BatchAutoConfiguration,\
|
||||
org.springframework.autoconfigure.data.JpaRepositoriesAutoConfiguration,\
|
||||
org.springframework.autoconfigure.jdbc.DataSourceAutoConfiguration,\
|
||||
org.springframework.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration,\
|
||||
org.springframework.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,\
|
||||
org.springframework.autoconfigure.reactor.ReactorAutoConfiguration,\
|
||||
org.springframework.autoconfigure.thymeleaf.ThymeleafAutoConfiguration,\
|
||||
org.springframework.autoconfigure.web.EmbeddedServletContainerAutoConfiguration,\
|
||||
org.springframework.autoconfigure.web.ServerPropertiesAutoConfiguration,\
|
||||
org.springframework.autoconfigure.web.MultipartAutoConfiguration,\
|
||||
org.springframework.autoconfigure.web.WebMvcAutoConfiguration
|
|
@ -3,15 +3,15 @@
|
|||
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.zero</groupId>
|
||||
<artifactId>spring-zero</artifactId>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot</artifactId>
|
||||
<version>0.5.0.BUILD-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>spring-cli</artifactId>
|
||||
<artifactId>spring-boot-cli</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<properties>
|
||||
<main.basedir>${basedir}/..</main.basedir>
|
||||
<start-class>org.springframework.cli.SpringCli</start-class>
|
||||
<start-class>org.springframework.boot.cli.SpringCli</start-class>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<!-- Compile -->
|
|
@ -1,6 +1,6 @@
|
|||
package org.test
|
||||
|
||||
@Grab("org.springframework.zero:spring-actuator:0.5.0.BUILD-SNAPSHOT")
|
||||
@Grab("org.springframework.boot:spring-boot-up-ops:0.5.0.BUILD-SNAPSHOT")
|
||||
|
||||
@Controller
|
||||
class SampleController {
|
|
@ -1,6 +1,6 @@
|
|||
package org.test
|
||||
|
||||
import static org.springframework.cli.template.GroovyTemplate.template;
|
||||
import static org.springframework.boot.cli.template.GroovyTemplate.template;
|
||||
|
||||
@Component
|
||||
class Example implements CommandLineRunner {
|
|
@ -23,7 +23,7 @@
|
|||
<dependencySets>
|
||||
<dependencySet>
|
||||
<includes>
|
||||
<include>org.springframework.zero:spring-cli:jar:*</include>
|
||||
<include>org.springframework.boot:spring-cli:jar:*</include>
|
||||
</includes>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</dependencySet>
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli;
|
||||
package org.springframework.boot.cli;
|
||||
|
||||
/**
|
||||
* A single command that can be run from the CLI.
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli;
|
||||
package org.springframework.boot.cli;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.ServiceLoader;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli;
|
||||
package org.springframework.boot.cli;
|
||||
|
||||
/**
|
||||
* Simple logger used by the CLI.
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli;
|
||||
package org.springframework.boot.cli;
|
||||
|
||||
/**
|
||||
* Exception thrown when an unknown command is specified.
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli;
|
||||
package org.springframework.boot.cli;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
|
@ -76,7 +76,7 @@ public class SpringCli {
|
|||
/**
|
||||
* Run the CLI and handle and errors.
|
||||
* @param args the input arguments
|
||||
* @return a return status code (non zero is used to indicate an error)
|
||||
* @return a return status code (non boot is used to indicate an error)
|
||||
*/
|
||||
public int runAndHandleErrors(String... args) {
|
||||
String[] argsWithoutDebugFlags = removeDebugFlags(args);
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli;
|
||||
package org.springframework.boot.cli;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
|
@ -14,9 +14,9 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.command;
|
||||
package org.springframework.boot.cli.command;
|
||||
|
||||
import org.springframework.cli.Command;
|
||||
import org.springframework.boot.cli.Command;
|
||||
|
||||
/**
|
||||
* Abstract {@link Command} implementation.
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.command;
|
||||
package org.springframework.boot.cli.command;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
|
@ -24,8 +24,8 @@ import joptsimple.OptionSet;
|
|||
import joptsimple.OptionSpec;
|
||||
|
||||
import org.apache.ivy.util.FileUtil;
|
||||
import org.springframework.cli.Command;
|
||||
import org.springframework.cli.Log;
|
||||
import org.springframework.boot.cli.Command;
|
||||
import org.springframework.boot.cli.Log;
|
||||
|
||||
/**
|
||||
* {@link Command} to 'clean' up grapes, removing cached dependencies and forcing a
|
||||
|
@ -80,8 +80,8 @@ public class CleanCommand extends OptionParsingCommand {
|
|||
return;
|
||||
}
|
||||
ArrayList<Object> specs = new ArrayList<Object>(options.nonOptionArguments());
|
||||
if (!specs.contains("org.springframework.zero") && layout == Layout.IVY) {
|
||||
specs.add(0, "org.springframework.zero");
|
||||
if (!specs.contains("org.springframework.boot") && layout == Layout.IVY) {
|
||||
specs.add(0, "org.springframework.boot");
|
||||
}
|
||||
for (Object spec : specs) {
|
||||
if (spec instanceof String) {
|
||||
|
@ -103,7 +103,7 @@ public class CleanCommand extends OptionParsingCommand {
|
|||
return;
|
||||
}
|
||||
|
||||
if (options.has(this.allOption) || group.equals("org.springframework.zero")) {
|
||||
if (options.has(this.allOption) || group.equals("org.springframework.boot")) {
|
||||
delete(file);
|
||||
return;
|
||||
}
|
|
@ -14,11 +14,11 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.command;
|
||||
package org.springframework.boot.cli.command;
|
||||
|
||||
import joptsimple.OptionSet;
|
||||
|
||||
import org.springframework.cli.Command;
|
||||
import org.springframework.boot.cli.Command;
|
||||
|
||||
import static java.util.Arrays.asList;
|
||||
|
|
@ -14,14 +14,14 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.command;
|
||||
package org.springframework.boot.cli.command;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.cli.Command;
|
||||
import org.springframework.cli.CommandFactory;
|
||||
import org.springframework.boot.cli.Command;
|
||||
import org.springframework.boot.cli.CommandFactory;
|
||||
|
||||
/**
|
||||
* Default implementation of {@link CommandFactory}.
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.command;
|
||||
package org.springframework.boot.cli.command;
|
||||
|
||||
import groovy.lang.Closure;
|
||||
|
|
@ -14,9 +14,9 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.command;
|
||||
package org.springframework.boot.cli.command;
|
||||
|
||||
import org.springframework.cli.Command;
|
||||
import org.springframework.boot.cli.Command;
|
||||
|
||||
/**
|
||||
* Base class for a {@link Command} that pare options using an {@link OptionHandler}.
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.command;
|
||||
package org.springframework.boot.cli.command;
|
||||
|
||||
import java.awt.Desktop;
|
||||
import java.io.File;
|
||||
|
@ -25,9 +25,9 @@ import java.util.logging.Level;
|
|||
import joptsimple.OptionSet;
|
||||
import joptsimple.OptionSpec;
|
||||
|
||||
import org.springframework.cli.Command;
|
||||
import org.springframework.cli.runner.SpringApplicationRunner;
|
||||
import org.springframework.cli.runner.SpringApplicationRunnerConfiguration;
|
||||
import org.springframework.boot.cli.Command;
|
||||
import org.springframework.boot.cli.runner.SpringApplicationRunner;
|
||||
import org.springframework.boot.cli.runner.SpringApplicationRunnerConfiguration;
|
||||
|
||||
import static java.util.Arrays.asList;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.command;
|
||||
package org.springframework.boot.cli.command;
|
||||
|
||||
import groovy.lang.Closure;
|
||||
import groovy.lang.GroovyObjectSupport;
|
||||
|
@ -30,9 +30,9 @@ import joptsimple.OptionParser;
|
|||
|
||||
import org.apache.ivy.util.FileUtil;
|
||||
import org.codehaus.groovy.control.CompilationFailedException;
|
||||
import org.springframework.cli.Command;
|
||||
import org.springframework.cli.compiler.GroovyCompiler;
|
||||
import org.springframework.cli.compiler.GroovyCompilerConfiguration;
|
||||
import org.springframework.boot.cli.Command;
|
||||
import org.springframework.boot.cli.compiler.GroovyCompiler;
|
||||
import org.springframework.boot.cli.compiler.GroovyCompilerConfiguration;
|
||||
|
||||
/**
|
||||
* {@link Command} to run a Groovy script.
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.command;
|
||||
package org.springframework.boot.cli.command;
|
||||
|
||||
import groovy.lang.Mixin;
|
||||
|
||||
|
@ -45,7 +45,7 @@ import org.codehaus.groovy.control.SourceUnit;
|
|||
import org.codehaus.groovy.control.customizers.CompilationCustomizer;
|
||||
import org.codehaus.groovy.control.customizers.ImportCustomizer;
|
||||
import org.objectweb.asm.Opcodes;
|
||||
import org.springframework.cli.Command;
|
||||
import org.springframework.boot.cli.Command;
|
||||
|
||||
/**
|
||||
* Customizer for the compilation of CLI commands.
|
|
@ -14,9 +14,9 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.command;
|
||||
package org.springframework.boot.cli.command;
|
||||
|
||||
import org.springframework.cli.Command;
|
||||
import org.springframework.boot.cli.Command;
|
||||
|
||||
/**
|
||||
* {@link Command} to display the 'version' number.
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.compiler;
|
||||
package org.springframework.boot.cli.compiler;
|
||||
|
||||
import org.codehaus.groovy.ast.AnnotatedNode;
|
||||
import org.codehaus.groovy.ast.AnnotationNode;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.compiler;
|
||||
package org.springframework.boot.cli.compiler;
|
||||
|
||||
import groovy.lang.GroovyClassLoader;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.compiler;
|
||||
package org.springframework.boot.cli.compiler;
|
||||
|
||||
import groovy.grape.Grape;
|
||||
import groovy.lang.Grapes;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.compiler;
|
||||
package org.springframework.boot.cli.compiler;
|
||||
|
||||
import groovy.lang.GroovyClassLoader;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.compiler;
|
||||
package org.springframework.boot.cli.compiler;
|
||||
|
||||
import groovy.grape.Grape;
|
||||
import groovy.lang.GroovyClassLoader;
|
||||
|
@ -45,7 +45,7 @@ import org.codehaus.groovy.control.customizers.ImportCustomizer;
|
|||
* {@link GroovyClassLoader#parseClass(File)} with the following additional features:
|
||||
* <ul>
|
||||
* <li>{@link CompilerAutoConfiguration} strategies will be read from
|
||||
* <code>META-INF/services/org.springframework.cli.compiler.CompilerAutoConfiguration</code>
|
||||
* <code>META-INF/services/org.springframework.boot.cli.compiler.CompilerAutoConfiguration</code>
|
||||
* (per the standard java {@link ServiceLoader} contract) and applied during compilation</li>
|
||||
*
|
||||
* <li>Multiple classes can be returned if the Groovy source defines more than one Class</li>
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.compiler;
|
||||
package org.springframework.boot.cli.compiler;
|
||||
|
||||
/**
|
||||
* Configuration for the {@link GroovyCompiler}.
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.compiler.autoconfigure;
|
||||
package org.springframework.boot.cli.compiler.autoconfigure;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
|
@ -24,9 +24,9 @@ import java.lang.annotation.Target;
|
|||
|
||||
import org.codehaus.groovy.ast.ClassNode;
|
||||
import org.codehaus.groovy.control.customizers.ImportCustomizer;
|
||||
import org.springframework.cli.compiler.AstUtils;
|
||||
import org.springframework.cli.compiler.CompilerAutoConfiguration;
|
||||
import org.springframework.cli.compiler.DependencyCustomizer;
|
||||
import org.springframework.boot.cli.compiler.AstUtils;
|
||||
import org.springframework.boot.cli.compiler.CompilerAutoConfiguration;
|
||||
import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for the Recator.
|
|
@ -14,13 +14,13 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.compiler.autoconfigure;
|
||||
package org.springframework.boot.cli.compiler.autoconfigure;
|
||||
|
||||
import org.codehaus.groovy.ast.ClassNode;
|
||||
import org.codehaus.groovy.control.customizers.ImportCustomizer;
|
||||
import org.springframework.cli.compiler.AstUtils;
|
||||
import org.springframework.cli.compiler.CompilerAutoConfiguration;
|
||||
import org.springframework.cli.compiler.DependencyCustomizer;
|
||||
import org.springframework.boot.cli.compiler.AstUtils;
|
||||
import org.springframework.boot.cli.compiler.CompilerAutoConfiguration;
|
||||
import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring Batch.
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.compiler.autoconfigure;
|
||||
package org.springframework.boot.cli.compiler.autoconfigure;
|
||||
|
||||
import groovy.lang.GroovyClassLoader;
|
||||
|
||||
|
@ -24,9 +24,9 @@ import org.codehaus.groovy.classgen.GeneratorContext;
|
|||
import org.codehaus.groovy.control.CompilationFailedException;
|
||||
import org.codehaus.groovy.control.SourceUnit;
|
||||
import org.codehaus.groovy.control.customizers.ImportCustomizer;
|
||||
import org.springframework.cli.compiler.CompilerAutoConfiguration;
|
||||
import org.springframework.cli.compiler.DependencyCustomizer;
|
||||
import org.springframework.cli.compiler.GroovyCompilerConfiguration;
|
||||
import org.springframework.boot.cli.compiler.CompilerAutoConfiguration;
|
||||
import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
import org.springframework.boot.cli.compiler.GroovyCompilerConfiguration;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring.
|
||||
|
@ -34,14 +34,14 @@ import org.springframework.cli.compiler.GroovyCompilerConfiguration;
|
|||
* @author Dave Syer
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
public class SpringCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
public class SpringBootCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
||||
|
||||
@Override
|
||||
public void applyDependencies(DependencyCustomizer dependencies) {
|
||||
dependencies.ifAnyMissingClasses(
|
||||
"org.springframework.bootstrap.SpringApplication").add(
|
||||
"org.springframework.zero", "spring-starter",
|
||||
dependencies.getProperty("spring.zero.version"));
|
||||
"org.springframework.boot.strap.SpringApplication").add(
|
||||
"org.springframework.boot", "spring-boot-up",
|
||||
dependencies.getProperty("spring.boot.version"));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -64,8 +64,8 @@ public class SpringCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
|||
"org.springframework.context.MessageSource",
|
||||
"org.springframework.core.annotation.Order",
|
||||
"org.springframework.core.io.ResourceLoader",
|
||||
"org.springframework.bootstrap.CommandLineRunner",
|
||||
"org.springframework.autoconfigure.EnableAutoConfiguration");
|
||||
"org.springframework.boot.strap.CommandLineRunner",
|
||||
"org.springframework.boot.config.EnableAutoConfiguration");
|
||||
imports.addStarImports("org.springframework.stereotype");
|
||||
}
|
||||
|
||||
|
@ -82,7 +82,7 @@ public class SpringCompilerAutoConfiguration extends CompilerAutoConfiguration {
|
|||
if (!hasEnableAutoConfigureAnnotation(classNode)) {
|
||||
try {
|
||||
Class<?> annotationClass = source.getClassLoader().loadClass(
|
||||
"org.springframework.autoconfigure.EnableAutoConfiguration");
|
||||
"org.springframework.boot.config.EnableAutoConfiguration");
|
||||
AnnotationNode annotationNode = new AnnotationNode(new ClassNode(
|
||||
annotationClass));
|
||||
classNode.addAnnotation(annotationNode);
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.compiler.autoconfigure;
|
||||
package org.springframework.boot.cli.compiler.autoconfigure;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
|
@ -24,9 +24,9 @@ import java.lang.annotation.Target;
|
|||
|
||||
import org.codehaus.groovy.ast.ClassNode;
|
||||
import org.codehaus.groovy.control.customizers.ImportCustomizer;
|
||||
import org.springframework.cli.compiler.AstUtils;
|
||||
import org.springframework.cli.compiler.CompilerAutoConfiguration;
|
||||
import org.springframework.cli.compiler.DependencyCustomizer;
|
||||
import org.springframework.boot.cli.compiler.AstUtils;
|
||||
import org.springframework.boot.cli.compiler.CompilerAutoConfiguration;
|
||||
import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring Integration.
|
|
@ -14,13 +14,13 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.compiler.autoconfigure;
|
||||
package org.springframework.boot.cli.compiler.autoconfigure;
|
||||
|
||||
import org.codehaus.groovy.ast.ClassNode;
|
||||
import org.codehaus.groovy.control.customizers.ImportCustomizer;
|
||||
import org.springframework.cli.compiler.AstUtils;
|
||||
import org.springframework.cli.compiler.CompilerAutoConfiguration;
|
||||
import org.springframework.cli.compiler.DependencyCustomizer;
|
||||
import org.springframework.boot.cli.compiler.AstUtils;
|
||||
import org.springframework.boot.cli.compiler.CompilerAutoConfiguration;
|
||||
import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring MVC.
|
||||
|
@ -62,7 +62,7 @@ public class SpringMvcCompilerAutoConfiguration extends CompilerAutoConfiguratio
|
|||
"org.springframework.web.servlet.config.annotation",
|
||||
"org.springframework.web.servlet",
|
||||
"org.springframework.web.servlet.handler", "org.springframework.http");
|
||||
imports.addStaticImport("org.springframework.cli.template.GroovyTemplate",
|
||||
imports.addStaticImport("org.springframework.boot.cli.template.GroovyTemplate",
|
||||
"template");
|
||||
}
|
||||
|
|
@ -14,13 +14,13 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.compiler.autoconfigure;
|
||||
package org.springframework.boot.cli.compiler.autoconfigure;
|
||||
|
||||
import org.codehaus.groovy.ast.ClassNode;
|
||||
import org.codehaus.groovy.control.customizers.ImportCustomizer;
|
||||
import org.springframework.cli.compiler.AstUtils;
|
||||
import org.springframework.cli.compiler.CompilerAutoConfiguration;
|
||||
import org.springframework.cli.compiler.DependencyCustomizer;
|
||||
import org.springframework.boot.cli.compiler.AstUtils;
|
||||
import org.springframework.boot.cli.compiler.CompilerAutoConfiguration;
|
||||
import org.springframework.boot.cli.compiler.DependencyCustomizer;
|
||||
|
||||
/**
|
||||
* {@link CompilerAutoConfiguration} for Spring Security.
|
|
@ -14,14 +14,14 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.runner;
|
||||
package org.springframework.boot.cli.runner;
|
||||
|
||||
import java.io.File;
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.springframework.cli.compiler.GroovyCompiler;
|
||||
import org.springframework.boot.cli.compiler.GroovyCompiler;
|
||||
|
||||
/**
|
||||
* Compiles Groovy code running the resulting classes using a {@code SpringApplication}.
|
||||
|
@ -135,7 +135,7 @@ public class SpringApplicationRunner {
|
|||
try {
|
||||
// User reflection to load and call Spring
|
||||
Class<?> application = getContextClassLoader().loadClass(
|
||||
"org.springframework.bootstrap.SpringApplication");
|
||||
"org.springframework.boot.strap.SpringApplication");
|
||||
Method method = application.getMethod("run", Object[].class,
|
||||
String[].class);
|
||||
this.applicationContext = method.invoke(null, this.sources,
|
|
@ -14,11 +14,11 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.runner;
|
||||
package org.springframework.boot.cli.runner;
|
||||
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.springframework.cli.compiler.GroovyCompilerConfiguration;
|
||||
import org.springframework.boot.cli.compiler.GroovyCompilerConfiguration;
|
||||
|
||||
/**
|
||||
* Configuration for the {@link SpringApplicationRunner}.
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.template;
|
||||
package org.springframework.boot.cli.template;
|
||||
|
||||
import groovy.text.GStringTemplateEngine;
|
||||
import groovy.text.Template;
|
|
@ -0,0 +1 @@
|
|||
org.springframework.boot.cli.command.DefaultCommandFactory
|
|
@ -0,0 +1,6 @@
|
|||
org.springframework.boot.cli.compiler.autoconfigure.SpringBootCompilerAutoConfiguration
|
||||
org.springframework.boot.cli.compiler.autoconfigure.SpringMvcCompilerAutoConfiguration
|
||||
org.springframework.boot.cli.compiler.autoconfigure.SpringBatchCompilerAutoConfiguration
|
||||
org.springframework.boot.cli.compiler.autoconfigure.ReactorCompilerAutoConfiguration
|
||||
org.springframework.boot.cli.compiler.autoconfigure.SpringIntegrationCompilerAutoConfiguration
|
||||
org.springframework.boot.cli.compiler.autoconfigure.SpringSecurityCompilerAutoConfiguration
|
|
@ -1,4 +1,4 @@
|
|||
spring.zero.version: ${project.version}
|
||||
spring.boot.version: ${project.version}
|
||||
spring.version: ${spring.version}
|
||||
spring.batch.version: ${spring.batch.version}
|
||||
spring.security.version: ${spring.security.version}
|
|
@ -77,4 +77,4 @@ if $cygwin; then
|
|||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||
fi
|
||||
|
||||
${JAVA_HOME}/bin/java ${JAVA_OPTS} -cp "$CLASSPATH" org.springframework.cli.SpringCli $*
|
||||
${JAVA_HOME}/bin/java ${JAVA_OPTS} -cp "$CLASSPATH" org.springframework.boot.cli.SpringCli $*
|
|
@ -14,11 +14,11 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli;
|
||||
package org.springframework.boot.cli;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import org.springframework.cli.command.CleanCommand;
|
||||
import org.springframework.boot.cli.command.CleanCommand;
|
||||
|
||||
/**
|
||||
* @author Dave Syer
|
||||
|
@ -30,11 +30,13 @@ public class GrapesCleaner {
|
|||
|
||||
public static void cleanIfNecessary() throws Exception {
|
||||
File installedJar = new File(getMavenRepository(), String.format(
|
||||
"org/springframework/zero/spring-bootstrap/%s/spring-bootstrap-%s.jar",
|
||||
"org/springframework/boot/spring-boot-strap/%s/spring-boot-strap-%s.jar",
|
||||
VERSION, VERSION));
|
||||
File grapesJar = new File(getGrapesCache(), String.format(
|
||||
"org.springframework.zero/spring-bootstrap/jars/spring-bootstrap-%s.jar",
|
||||
VERSION));
|
||||
File grapesJar = new File(
|
||||
getGrapesCache(),
|
||||
String.format(
|
||||
"org.springframework.boot/spring-boot-strap/jars/spring-boot-strap-%s.jar",
|
||||
VERSION));
|
||||
if (!VERSION.contains("SNAPSHOT") || installedJar.exists() && grapesJar.exists()
|
||||
&& installedJar.lastModified() <= grapesJar.lastModified()) {
|
||||
return;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli;
|
||||
package org.springframework.boot.cli;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.PrintStream;
|
||||
|
@ -29,7 +29,7 @@ import org.junit.After;
|
|||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
import org.springframework.cli.command.RunCommand;
|
||||
import org.springframework.boot.cli.command.RunCommand;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
@ -160,8 +160,8 @@ public class SampleIntegrationTests {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void actuatorSample() throws Exception {
|
||||
start("samples/actuator.groovy");
|
||||
public void opsSample() throws Exception {
|
||||
start("samples/ops.groovy");
|
||||
String result = FileUtil.readEntirely(new URL("http://localhost:8080")
|
||||
.openStream());
|
||||
assertEquals("{\"message\":\"Hello World!\"}", result);
|
|
@ -1,4 +1,4 @@
|
|||
package org.springframework.cli;
|
||||
package org.springframework.boot.cli;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.EnumSet;
|
||||
|
@ -10,8 +10,11 @@ import org.junit.Test;
|
|||
import org.junit.rules.ExpectedException;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.MockitoAnnotations;
|
||||
import org.springframework.cli.SpringCli.NoArgumentsException;
|
||||
import org.springframework.cli.SpringCli.NoHelpCommandArgumentsException;
|
||||
import org.springframework.boot.cli.Command;
|
||||
import org.springframework.boot.cli.NoSuchCommandException;
|
||||
import org.springframework.boot.cli.SpringCli;
|
||||
import org.springframework.boot.cli.SpringCli.NoArgumentsException;
|
||||
import org.springframework.boot.cli.SpringCli.NoHelpCommandArgumentsException;
|
||||
|
||||
import static org.hamcrest.Matchers.equalTo;
|
||||
import static org.junit.Assert.assertThat;
|
|
@ -14,14 +14,16 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.cli.command;
|
||||
package org.springframework.boot.cli.command;
|
||||
|
||||
import groovy.lang.GroovyObjectSupport;
|
||||
import groovy.lang.Script;
|
||||
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
import org.springframework.cli.GrapesCleaner;
|
||||
import org.springframework.boot.cli.GrapesCleaner;
|
||||
import org.springframework.boot.cli.command.OptionHandler;
|
||||
import org.springframework.boot.cli.command.ScriptCommand;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotSame;
|
|
@ -0,0 +1,6 @@
|
|||
def run = { msg ->
|
||||
org.springframework.boot.cli.command.ScriptCommandTests.executed = true
|
||||
println "Hello ${msg}"
|
||||
}
|
||||
|
||||
run
|
|
@ -11,7 +11,7 @@ class TestCommand implements Command {
|
|||
String usageHelp = "Not very useful"
|
||||
|
||||
void run(String... args) {
|
||||
org.springframework.cli.command.ScriptCommandTests.executed = true
|
||||
org.springframework.boot.cli.command.ScriptCommandTests.executed = true
|
||||
println "Hello ${args[0]}"
|
||||
}
|
||||
|
|
@ -12,7 +12,7 @@ class TestCommand extends OptionHandler {
|
|||
void run(OptionSet options) {
|
||||
// Demonstrate use of Grape.grab to load dependencies before running
|
||||
println "Clean : " + Git.open(".." as File).status().call().isClean()
|
||||
org.springframework.cli.command.ScriptCommandTests.executed = true
|
||||
org.springframework.boot.cli.command.ScriptCommandTests.executed = true
|
||||
println "Hello ${options.nonOptionArguments()}: ${options.has('foo')}"
|
||||
}
|
||||
|
|
@ -2,5 +2,5 @@ void options() {
|
|||
option "foo", "Foo set"
|
||||
}
|
||||
|
||||
org.springframework.cli.command.ScriptCommandTests.executed = true
|
||||
org.springframework.boot.cli.command.ScriptCommandTests.executed = true
|
||||
println "Hello ${options.nonOptionArguments()}: ${options.has('foo')}"
|
|
@ -4,7 +4,7 @@ class TestCommand implements Runnable {
|
|||
this.msg = msg
|
||||
}
|
||||
void run() {
|
||||
org.springframework.cli.command.ScriptCommandTests.executed = true
|
||||
org.springframework.boot.cli.command.ScriptCommandTests.executed = true
|
||||
println "Hello ${msg}"
|
||||
}
|
||||
}
|
|
@ -3,5 +3,5 @@ options {
|
|||
option "bar", "Bar has an argument of type int" withOptionalArg() ofType Integer
|
||||
}
|
||||
|
||||
org.springframework.cli.command.ScriptCommandTests.executed = true
|
||||
org.springframework.boot.cli.command.ScriptCommandTests.executed = true
|
||||
println "Hello ${options.nonOptionArguments()}: ${options.has('foo')} ${options.valueOf('bar')}"
|
|
@ -3,11 +3,11 @@
|
|||
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.zero</groupId>
|
||||
<artifactId>spring-zero</artifactId>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot</artifactId>
|
||||
<version>0.5.0.BUILD-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>spring-autoconfigure</artifactId>
|
||||
<artifactId>spring-boot-config</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<properties>
|
||||
<main.basedir>${basedir}/..</main.basedir>
|
||||
|
@ -16,7 +16,7 @@
|
|||
<!-- Compile -->
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>spring-bootstrap</artifactId>
|
||||
<artifactId>spring-boot-strap</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<!-- Optional -->
|
||||
|
@ -118,7 +118,7 @@
|
|||
<!-- Test -->
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>spring-bootstrap</artifactId>
|
||||
<artifactId>spring-boot-strap</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<classifier>tests</classifier>
|
||||
<scope>test</scope>
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure;
|
||||
package org.springframework.boot.config;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure;
|
||||
package org.springframework.boot.config;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure;
|
||||
package org.springframework.boot.config;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure;
|
||||
package org.springframework.boot.config;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure;
|
||||
package org.springframework.boot.config;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
|
@ -22,11 +22,11 @@ import java.lang.annotation.Retention;
|
|||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnBean;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.bootstrap.context.embedded.EmbeddedServletContainerFactory;
|
||||
import org.springframework.bootstrap.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnBean;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.strap.context.embedded.EmbeddedServletContainerFactory;
|
||||
import org.springframework.boot.strap.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Import;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure;
|
||||
package org.springframework.boot.config;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
|
@ -14,10 +14,10 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure;
|
||||
package org.springframework.boot.config;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.context.MessageSource;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
|
@ -14,9 +14,9 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure;
|
||||
package org.springframework.boot.config;
|
||||
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
|
@ -14,15 +14,15 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.batch;
|
||||
package org.springframework.boot.config.batch;
|
||||
|
||||
import org.springframework.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.batch.core.launch.JobLauncher;
|
||||
import org.springframework.bootstrap.CommandLineRunner;
|
||||
import org.springframework.bootstrap.ExitCodeGenerator;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnBean;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.config.EnableAutoConfiguration;
|
||||
import org.springframework.boot.strap.CommandLineRunner;
|
||||
import org.springframework.boot.strap.ExitCodeGenerator;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnBean;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.batch;
|
||||
package org.springframework.boot.config.batch;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
import javax.sql.DataSource;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.batch;
|
||||
package org.springframework.boot.config.batch;
|
||||
|
||||
import org.springframework.batch.core.JobExecution;
|
||||
import org.springframework.context.ApplicationEvent;
|
|
@ -14,13 +14,13 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.batch;
|
||||
package org.springframework.boot.config.batch;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.batch.core.JobExecution;
|
||||
import org.springframework.bootstrap.ExitCodeGenerator;
|
||||
import org.springframework.boot.strap.ExitCodeGenerator;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
|
||||
/**
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.batch;
|
||||
package org.springframework.boot.config.batch;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
|
@ -30,7 +30,7 @@ import org.springframework.batch.core.converter.DefaultJobParametersConverter;
|
|||
import org.springframework.batch.core.converter.JobParametersConverter;
|
||||
import org.springframework.batch.core.launch.JobLauncher;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.bootstrap.CommandLineRunner;
|
||||
import org.springframework.boot.strap.CommandLineRunner;
|
||||
import org.springframework.context.ApplicationEventPublisher;
|
||||
import org.springframework.context.ApplicationEventPublisherAware;
|
||||
import org.springframework.stereotype.Component;
|
|
@ -14,11 +14,11 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.data;
|
||||
package org.springframework.boot.config.data;
|
||||
|
||||
import org.springframework.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.config.EnableAutoConfiguration;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
|
@ -14,18 +14,18 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.data;
|
||||
package org.springframework.boot.config.data;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.autoconfigure.AutoConfigurationUtils;
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.BeanClassLoaderAware;
|
||||
import org.springframework.beans.factory.BeanFactory;
|
||||
import org.springframework.beans.factory.BeanFactoryAware;
|
||||
import org.springframework.beans.factory.support.BeanDefinitionBuilder;
|
||||
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
|
||||
import org.springframework.boot.config.AutoConfigurationUtils;
|
||||
import org.springframework.context.annotation.ImportBeanDefinitionRegistrar;
|
||||
import org.springframework.core.io.DefaultResourceLoader;
|
||||
import org.springframework.core.io.ResourceLoader;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.jdbc;
|
||||
package org.springframework.boot.config.jdbc;
|
||||
|
||||
import org.springframework.beans.factory.BeanCreationException;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.jdbc;
|
||||
package org.springframework.boot.config.jdbc;
|
||||
|
||||
import java.sql.SQLException;
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.jdbc;
|
||||
package org.springframework.boot.config.jdbc;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
|
@ -25,13 +25,13 @@ import javax.sql.DataSource;
|
|||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.springframework.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.beans.factory.BeanFactoryUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.bootstrap.context.condition.ConditionLogUtils;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.config.EnableAutoConfiguration;
|
||||
import org.springframework.boot.strap.context.condition.ConditionLogUtils;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Condition;
|
|
@ -14,15 +14,15 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.jdbc;
|
||||
package org.springframework.boot.config.jdbc;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.springframework.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnBean;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.config.EnableAutoConfiguration;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnBean;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.core.Ordered;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.jdbc;
|
||||
package org.springframework.boot.config.jdbc;
|
||||
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
|
@ -22,7 +22,7 @@ import java.util.Map;
|
|||
import javax.annotation.PreDestroy;
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.springframework.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.boot.config.EnableAutoConfiguration;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.jdbc.datasource.embedded.EmbeddedDatabase;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.jdbc;
|
||||
package org.springframework.boot.config.jdbc;
|
||||
|
||||
import javax.annotation.PreDestroy;
|
||||
import javax.sql.DataSource;
|
|
@ -14,15 +14,15 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.orm.jpa;
|
||||
package org.springframework.boot.config.orm.jpa;
|
||||
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.hibernate.ejb.HibernateEntityManager;
|
||||
import org.springframework.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.config.EnableAutoConfiguration;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType;
|
|
@ -14,27 +14,27 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.orm.jpa;
|
||||
package org.springframework.boot.config.orm.jpa;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.springframework.autoconfigure.AutoConfigurationUtils;
|
||||
import org.springframework.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.autoconfigure.jdbc.EmbeddedDatabaseConfiguration;
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.BeanFactory;
|
||||
import org.springframework.beans.factory.BeanFactoryAware;
|
||||
import org.springframework.beans.factory.NoSuchBeanDefinitionException;
|
||||
import org.springframework.beans.factory.config.BeanDefinition;
|
||||
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnBean;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnExpression;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnWebApplication;
|
||||
import org.springframework.boot.config.AutoConfigurationUtils;
|
||||
import org.springframework.boot.config.EnableAutoConfiguration;
|
||||
import org.springframework.boot.config.jdbc.EmbeddedDatabaseConfiguration;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnBean;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnExpression;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnWebApplication;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.orm.jpa.JpaTransactionManager;
|
|
@ -14,12 +14,12 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.reactor;
|
||||
package org.springframework.boot.config.reactor;
|
||||
|
||||
import org.springframework.autoconfigure.AutoConfigureAfter;
|
||||
import org.springframework.autoconfigure.web.WebMvcAutoConfiguration;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.config.AutoConfigureAfter;
|
||||
import org.springframework.boot.config.web.WebMvcAutoConfiguration;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.core.Ordered;
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.thymeleaf;
|
||||
package org.springframework.boot.config.thymeleaf;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
@ -25,13 +25,13 @@ import javax.servlet.Servlet;
|
|||
|
||||
import nz.net.ultraq.thymeleaf.LayoutDialect;
|
||||
|
||||
import org.springframework.autoconfigure.AutoConfigureAfter;
|
||||
import org.springframework.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.autoconfigure.web.WebMvcAutoConfiguration;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.config.AutoConfigureAfter;
|
||||
import org.springframework.boot.config.EnableAutoConfiguration;
|
||||
import org.springframework.boot.config.web.WebMvcAutoConfiguration;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.core.io.DefaultResourceLoader;
|
|
@ -14,15 +14,13 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.web;
|
||||
package org.springframework.boot.config.web;
|
||||
|
||||
import javax.servlet.Servlet;
|
||||
|
||||
import org.apache.catalina.startup.Tomcat;
|
||||
import org.eclipse.jetty.server.Server;
|
||||
import org.eclipse.jetty.util.Loader;
|
||||
import org.springframework.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.autoconfigure.web.EmbeddedServletContainerAutoConfiguration.EmbeddedServletContainerCustomizerBeanPostProcessorRegistrar;
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.beans.factory.BeanFactory;
|
||||
import org.springframework.beans.factory.BeanFactoryAware;
|
||||
|
@ -30,14 +28,16 @@ import org.springframework.beans.factory.config.BeanDefinition;
|
|||
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
|
||||
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
|
||||
import org.springframework.beans.factory.support.RootBeanDefinition;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.bootstrap.context.condition.SearchStrategy;
|
||||
import org.springframework.bootstrap.context.embedded.EmbeddedServletContainerCustomizerBeanPostProcessor;
|
||||
import org.springframework.bootstrap.context.embedded.EmbeddedServletContainerFactory;
|
||||
import org.springframework.bootstrap.context.embedded.ServletContextInitializer;
|
||||
import org.springframework.bootstrap.context.embedded.jetty.JettyEmbeddedServletContainerFactory;
|
||||
import org.springframework.bootstrap.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory;
|
||||
import org.springframework.boot.config.EnableAutoConfiguration;
|
||||
import org.springframework.boot.config.web.EmbeddedServletContainerAutoConfiguration.EmbeddedServletContainerCustomizerBeanPostProcessorRegistrar;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.strap.context.condition.SearchStrategy;
|
||||
import org.springframework.boot.strap.context.embedded.EmbeddedServletContainerCustomizerBeanPostProcessor;
|
||||
import org.springframework.boot.strap.context.embedded.EmbeddedServletContainerFactory;
|
||||
import org.springframework.boot.strap.context.embedded.ServletContextInitializer;
|
||||
import org.springframework.boot.strap.context.embedded.jetty.JettyEmbeddedServletContainerFactory;
|
||||
import org.springframework.boot.strap.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Import;
|
|
@ -14,15 +14,15 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.web;
|
||||
package org.springframework.boot.config.web;
|
||||
|
||||
import javax.servlet.MultipartConfigElement;
|
||||
import javax.servlet.Servlet;
|
||||
|
||||
import org.springframework.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnBean;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.bootstrap.context.embedded.EmbeddedWebApplicationContext;
|
||||
import org.springframework.boot.config.EnableAutoConfiguration;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnBean;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.strap.context.embedded.EmbeddedWebApplicationContext;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.multipart.support.StandardServletMultipartResolver;
|
|
@ -14,15 +14,15 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.web;
|
||||
package org.springframework.boot.config.web;
|
||||
|
||||
import org.springframework.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.bootstrap.context.embedded.ConfigurableEmbeddedServletContainerFactory;
|
||||
import org.springframework.bootstrap.context.embedded.EmbeddedServletContainerCustomizer;
|
||||
import org.springframework.bootstrap.context.embedded.properties.ServerProperties;
|
||||
import org.springframework.bootstrap.context.properties.EnableConfigurationProperties;
|
||||
import org.springframework.boot.config.EnableAutoConfiguration;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.strap.context.embedded.ConfigurableEmbeddedServletContainerFactory;
|
||||
import org.springframework.boot.strap.context.embedded.EmbeddedServletContainerCustomizer;
|
||||
import org.springframework.boot.strap.context.embedded.properties.ServerProperties;
|
||||
import org.springframework.boot.strap.context.properties.EnableConfigurationProperties;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.ApplicationContextAware;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
|
@ -44,7 +44,7 @@ public class ServerPropertiesAutoConfiguration implements ApplicationContextAwar
|
|||
|
||||
private ApplicationContext applicationContext;
|
||||
|
||||
@Bean(name = "org.springframework.bootstrap.context.embedded.properties.ServerProperties")
|
||||
@Bean(name = "org.springframework.boot.strap.context.embedded.properties.ServerProperties")
|
||||
@ConditionalOnMissingBean
|
||||
public ServerProperties serverProperties() {
|
||||
return new ServerProperties();
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.autoconfigure.web;
|
||||
package org.springframework.boot.config.web;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
|
@ -22,14 +22,14 @@ import java.util.Collections;
|
|||
|
||||
import javax.servlet.Servlet;
|
||||
|
||||
import org.springframework.autoconfigure.AutoConfigureAfter;
|
||||
import org.springframework.autoconfigure.EnableAutoConfiguration;
|
||||
import org.springframework.beans.factory.BeanFactory;
|
||||
import org.springframework.beans.factory.ListableBeanFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnBean;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.bootstrap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.boot.config.AutoConfigureAfter;
|
||||
import org.springframework.boot.config.EnableAutoConfiguration;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnBean;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnClass;
|
||||
import org.springframework.boot.strap.context.condition.ConditionalOnMissingBean;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.core.Ordered;
|
|
@ -0,0 +1,15 @@
|
|||
# Auto Configure
|
||||
org.springframework.boot.config.EnableAutoConfiguration=\
|
||||
org.springframework.boot.config.MessageSourceAutoConfiguration,\
|
||||
org.springframework.boot.config.PropertyPlaceholderAutoConfiguration,\
|
||||
org.springframework.boot.config.batch.BatchAutoConfiguration,\
|
||||
org.springframework.boot.config.data.JpaRepositoriesAutoConfiguration,\
|
||||
org.springframework.boot.config.jdbc.DataSourceAutoConfiguration,\
|
||||
org.springframework.boot.config.jdbc.DataSourceTransactionManagerAutoConfiguration,\
|
||||
org.springframework.boot.config.orm.jpa.HibernateJpaAutoConfiguration,\
|
||||
org.springframework.boot.config.reactor.ReactorAutoConfiguration,\
|
||||
org.springframework.boot.config.thymeleaf.ThymeleafAutoConfiguration,\
|
||||
org.springframework.boot.config.web.EmbeddedServletContainerAutoConfiguration,\
|
||||
org.springframework.boot.config.web.ServerPropertiesAutoConfiguration,\
|
||||
org.springframework.boot.config.web.MultipartAutoConfiguration,\
|
||||
org.springframework.boot.config.web.WebMvcAutoConfiguration
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue