commit b927151ea733aa03c927bda8670f8c811a35508a Author: huangge1199 Date: Fri Jun 27 15:45:32 2025 +0800 初始化 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..549e00a --- /dev/null +++ b/.gitignore @@ -0,0 +1,33 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..8d17bae --- /dev/null +++ b/pom.xml @@ -0,0 +1,82 @@ + + + 4.0.0 + com.huangge1199 + long-picture + 0.0.1-SNAPSHOT + long-picture + long-picture + + 1.8 + UTF-8 + UTF-8 + 2.7.6 + + + + org.springframework.boot + spring-boot-starter-web + + + + com.mysql + mysql-connector-j + runtime + + + org.projectlombok + lombok + true + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + org.springframework.boot + spring-boot-dependencies + ${spring-boot.version} + pom + import + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + 1.8 + 1.8 + UTF-8 + + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot.version} + + com.huangge1199.picture.LongPictureApplication + true + + + + repackage + + repackage + + + + + + + + diff --git a/src/main/java/com/huangge1199/picture/LongPictureApplication.java b/src/main/java/com/huangge1199/picture/LongPictureApplication.java new file mode 100644 index 0000000..6b34342 --- /dev/null +++ b/src/main/java/com/huangge1199/picture/LongPictureApplication.java @@ -0,0 +1,13 @@ +package com.huangge1199.picture; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class LongPictureApplication { + + public static void main(String[] args) { + SpringApplication.run(LongPictureApplication.class, args); + } + +} diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml new file mode 100644 index 0000000..47fbb02 --- /dev/null +++ b/src/main/resources/application.yml @@ -0,0 +1,2 @@ +server: + port: 8080 \ No newline at end of file diff --git a/src/test/java/com/huangge1199/picture/LongPictureApplicationTests.java b/src/test/java/com/huangge1199/picture/LongPictureApplicationTests.java new file mode 100644 index 0000000..a8959b7 --- /dev/null +++ b/src/test/java/com/huangge1199/picture/LongPictureApplicationTests.java @@ -0,0 +1,13 @@ +package com.huangge1199.picture; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class LongPictureApplicationTests { + + @Test + void contextLoads() { + } + +}