diff --git a/README.md b/README.md index 9e8a9bf..9ac6151 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ spring-boot-threadpool-demo/ ├── src/ │ ├── main/ -│ │ ├── java/com/example/threadpool/ +│ │ ├── java/cn/hezhaohui/threadpool/ │ │ │ ├── ThreadpoolApplication.java │ │ │ ├── config/ │ │ │ ├── service/ diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..fa1bbb8 --- /dev/null +++ b/pom.xml @@ -0,0 +1,68 @@ + + + + 4.0.0 + + cn.hezhaohui + spring-boot-threadpool + 1.0.0-SNAPSHOT + + jar + + + 21 + 21 + + + + org.springframework.boot + spring-boot-starter-parent + 3.2.2 + + + + + org.springframework.boot + spring-boot-starter-web + + + + org.projectlombok + lombok + 1.18.30 + provided + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.13.0 + + + org.springframework.boot + spring-boot-maven-plugin + 3.2.2 + + + + repackage + + + + + + + diff --git a/src/main/java/cn/hezhaohui/threadpool/ThreadPoolApplication.java b/src/main/java/cn/hezhaohui/threadpool/ThreadPoolApplication.java new file mode 100644 index 0000000..92f6f3f --- /dev/null +++ b/src/main/java/cn/hezhaohui/threadpool/ThreadPoolApplication.java @@ -0,0 +1,11 @@ +package cn.hezhaohui.threadpool; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class ThreadPoolApplication { + public static void main(String[] args) { + SpringApplication.run(ThreadPoolApplication.class, args); + } +}