Subversion Repositories Study

Compare Revisions

Ignore whitespace Rev 363 → Rev 364

/trunk/spring/spring-boot-parent/console-banner/pom.xml
23,6 → 23,16
</dependencies>
 
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/resources.filtered</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
/trunk/spring/spring-boot-parent/console-banner/src/main/resources/application.yml
File deleted
/trunk/spring/spring-boot-parent/console-banner/src/main/resources/application-dev.yml
0,0 → 1,7
# ===================================================================
# Standard Spring Boot properties.
# Full reference is available at:
# http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
# ===================================================================
banner:
location: classpath:/banner-dev.txt
/trunk/spring/spring-boot-parent/console-banner/src/main/resources/application-no.banner.yml
0,0 → 1,8
# ===================================================================
# Standard Spring Boot properties.
# Full reference is available at:
# http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
# ===================================================================
spring:
main:
banner-mode: "off"
/trunk/spring/spring-boot-parent/console-banner/src/main/resources/banner-dev.txt
0,0 → 1,13
_ _ _
| | ___ _ _ __ __(_) _ __ (_) ___
_ | | / _ \ | | | |\ \ / /| || '_ \ | | / _ \
| |_| || (_) || |_| | \ V / | || | | || || (_) |
\___/ \___/ \__,_| \_/ |_||_| |_||_| \___/
${Ansi.RED} :: Env DEV :: ${Ansi.DEFAULT}
${Ansi.RED} :: App title ${application.title} :: ${Ansi.DEFAULT}
${Ansi.RED} :: App version ${application.version} :: ${Ansi.DEFAULT}
${Ansi.RED} :: App version formatted ${application.formatted-version} :: ${Ansi.DEFAULT}
${Ansi.MAGENTA} :: Spring Boot version ${spring-boot.version} :: ${Ansi.DEFAULT}
${Ansi.MAGENTA} :: Spring Boot version formatted ${spring-boot.formatted-version} :: ${Ansi.DEFAULT}
 
/trunk/spring/spring-boot-parent/console-banner/src/main/resources/banner.txt
0,0 → 1,13
_ _ _
| | ___ _ _ __ __(_) _ __ (_) ___
_ | | / _ \ | | | |\ \ / /| || '_ \ | | / _ \
| |_| || (_) || |_| | \ V / | || | | || || (_) |
\___/ \___/ \__,_| \_/ |_||_| |_||_| \___/
${Ansi.GREEN} :: Env PROD :: ${Ansi.DEFAULT}
${Ansi.GREEN} :: App title ${application.title} :: ${Ansi.DEFAULT}
${Ansi.GREEN} :: App version ${application.version} :: ${Ansi.DEFAULT}
${Ansi.GREEN} :: App version formatted ${application.formatted-version} :: ${Ansi.DEFAULT}
${Ansi.MAGENTA} :: Spring Boot version ${spring-boot.version} :: ${Ansi.DEFAULT}
${Ansi.MAGENTA} :: Spring Boot version formatted ${spring-boot.formatted-version} :: ${Ansi.DEFAULT}
 
/trunk/spring/spring-boot-parent/console-banner/src/main/resources/logback.xml
0,0 → 1,14
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
 
<include resource="org/springframework/boot/logging/logback/defaults.xml" />
<include resource="org/springframework/boot/logging/logback/console-appender.xml" />
 
<logger name="fr.ejn.tutorial" level="info">
</logger>
 
<root level="error">
<appender-ref ref="CONSOLE" />
</root>
 
</configuration>
/trunk/spring/spring-boot-parent/console-banner/src/main/resources.filtered/application.yml
0,0 → 1,15
# ===================================================================
# 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 configuration
logging:
path: .
level:
root: INFO
/trunk/spring/spring-boot-parent/console-banner/src/test/java/fr/ejn/tutorial/spring/boot/console/ApplicationSample.java
0,0 → 1,22
package fr.ejn.tutorial.spring.boot.console;
 
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
 
/**
* @author Etienne Jouvin
*
*/
@SpringBootApplication
public class ApplicationSample {
 
/**
* Start function.
*
* @param args Command line arguments.
*/
public static void main(String[] args) {
SpringApplication.run(ApplicationSample.class, args);
}
 
}