/trunk/spring/spring-application/src/test/java/fr/ejn/tutorial/spring/application/ApplicationSample.java |
---|
8,7 → 8,6 |
import org.springframework.boot.SpringApplication; |
import org.springframework.boot.autoconfigure.SpringBootApplication; |
import org.springframework.context.annotation.Bean; |
import org.springframework.context.annotation.ComponentScan; |
import fr.ejn.tutorial.spring.application.configuration.MapConfigurationHandler; |
18,7 → 17,6 |
* @author Etienne Jouvin |
* |
*/ |
@ComponentScan |
@SpringBootApplication |
public class ApplicationSample { |
/trunk/spring/spring-boot-parent/console-banner/pom.xml |
---|
0,0 → 1,38 |
<?xml version="1.0"?> |
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
<modelVersion>4.0.0</modelVersion> |
<parent> |
<groupId>fr.ejn.tutorial.spring.spring-boot</groupId> |
<artifactId>spring-boot-parent</artifactId> |
<version>0.0.1-SNAPSHOT</version> |
</parent> |
<artifactId>console-banner</artifactId> |
<name>Custom banner in console</name> |
<description>Example to customize the banner printed during the startup.</description> |
<packaging>jar</packaging> |
<dependencies> |
<!-- Spring dependencies --> |
<dependency> |
<groupId>org.springframework.boot</groupId> |
<artifactId>spring-boot-starter</artifactId> |
</dependency> |
</dependencies> |
<build> |
<plugins> |
<plugin> |
<groupId>org.apache.maven.plugins</groupId> |
<artifactId>maven-compiler-plugin</artifactId> |
<configuration> |
<source>1.8</source> |
<target>1.8</target> |
</configuration> |
</plugin> |
</plugins> |
</build> |
</project> |
/trunk/spring/spring-boot-parent/console-banner/src/main/resources/application.yml |
---|
0,0 → 1,12 |
# =================================================================== |
# Standard Spring Boot properties. |
# Full reference is available at: |
# http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html |
# =================================================================== |
spring: |
application: |
name: '@project.name@' |
logging: |
path: . |
level: |
root: INFO |
/trunk/spring/spring-boot-parent/pom.xml |
---|
1,6 → 1,5 |
<?xml version="1.0"?> |
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
<?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> |
15,6 → 14,16 |
<name>Spring Boot</name> |
<description>Study Spring Boot framework</description> |
<modules> |
<module>console-banner</module> |
</modules> |
<properties> |
<maven.compiler.source>1.8</maven.compiler.source> |
<maven.compiler.target>1.8</maven.compiler.target> |
<source.level>1.8</source.level> |
</properties> |
<build> |
<plugins> |
<plugin> |