mirror of
https://github.com/ityouknow/spring-boot-examples.git
synced 2026-06-01 18:39:18 +08:00
add spring-boot-banner
This commit is contained in:
43
3.x/spring-boot-banner/pom.xml
Normal file
43
3.x/spring-boot-banner/pom.xml
Normal file
@@ -0,0 +1,43 @@
|
||||
<?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>
|
||||
|
||||
<groupId>com.example</groupId>
|
||||
<artifactId>spring-boot-banner</artifactId>
|
||||
<version>3.0.0</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Spring Boot banner</name>
|
||||
<description>A very useful project to demonstrate animated gif support in Spring Boot 2</description>
|
||||
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>3.0.0-SNAPSHOT</version>
|
||||
<relativePath/> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<java.version>17</java.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.neo.banner;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class BannerApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(BannerApplication.class, args);
|
||||
}
|
||||
}
|
||||
BIN
3.x/spring-boot-banner/src/main/resources/banner.gif
Normal file
BIN
3.x/spring-boot-banner/src/main/resources/banner.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 878 KiB |
6
3.x/spring-boot-banner/src/main/resources/banner.txt
Normal file
6
3.x/spring-boot-banner/src/main/resources/banner.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
.__ .__ .__ .__ .___
|
||||
| |__ ____ | | | | ____ __ _ _____________| | __| _/
|
||||
| | \_/ __ \| | | | / _ \ \ \/ \/ / _ \_ __ \ | / __ |
|
||||
| Y \ ___/| |_| |_( <_> ) \ ( <_> ) | \/ |__/ /_/ |
|
||||
|___| /\___ >____/____/\____/ \/\_/ \____/|__| |____/\____ |
|
||||
\/ \/ \/
|
||||
Reference in New Issue
Block a user