From 5d4cf75e1370da633543d08e04074baf9581ed6b Mon Sep 17 00:00:00 2001 From: cuijiawang Date: Thu, 6 Feb 2025 09:33:12 +0800 Subject: [PATCH] init --- .gitignore | 2 + pom.xml | 83 +++++++++++++++++++++++++++ src/main/java/stu/StuApplication.java | 13 +++++ src/main/resources/application.yml | 3 + 4 files changed, 101 insertions(+) create mode 100644 .gitignore create mode 100644 pom.xml create mode 100644 src/main/java/stu/StuApplication.java create mode 100644 src/main/resources/application.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..92322c4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea/ +target/ diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..8c60447 --- /dev/null +++ b/pom.xml @@ -0,0 +1,83 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.7.10 + + + com.stu + stu + 0.0.1-SNAPSHOT + stu + + + 17 + 17 + UTF-8 + 1.18.30 + + + + org.springframework.boot + spring-boot-starter + + + + org.projectlombok + lombok + ${lombok.version} + provided + + + + + + + org.springframework.boot + spring-boot-maven-plugin + 2.7.10 + + + org.apache.maven.plugins + maven-compiler-plugin + + 17 + 17 + + + + + + src/main/java + + **/*.properties + **/*.yml + **/*.xml + + + + src/main/resources + + **/*.properties + **/*.yml + + + + + + + + public-local + public-local + https://wol-nexus.tocmcc.cn/repository/maven-group/ + + true + always + + + + + diff --git a/src/main/java/stu/StuApplication.java b/src/main/java/stu/StuApplication.java new file mode 100644 index 0000000..fbf518f --- /dev/null +++ b/src/main/java/stu/StuApplication.java @@ -0,0 +1,13 @@ +package stu; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class StuApplication { + + public static void main(String[] args) { + SpringApplication.run(StuApplication.class, args); + } + +} diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml new file mode 100644 index 0000000..9d097d6 --- /dev/null +++ b/src/main/resources/application.yml @@ -0,0 +1,3 @@ +spring: + application: + name: stu