commit 9a254841932dac758a2f290721164ec6f8a49e91 Author: jieyuu <645634619@qq.com> Date: Sun Nov 17 20:56:05 2024 +0800 基础工程结构 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ff6309 --- /dev/null +++ b/.gitignore @@ -0,0 +1,38 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..553f97f --- /dev/null +++ b/pom.xml @@ -0,0 +1,22 @@ + + + 4.0.0 + + com.zjcf + zjcf + 1.0-SNAPSHOT + pom + + zjcf-common + zjcf-pojo + + + + 8 + 8 + UTF-8 + + + \ No newline at end of file diff --git a/zjcf-common/pom.xml b/zjcf-common/pom.xml new file mode 100644 index 0000000..b903c45 --- /dev/null +++ b/zjcf-common/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + com.zjcf + zjcf + 1.0-SNAPSHOT + + + zjcf-common + + + 8 + 8 + UTF-8 + + + \ No newline at end of file diff --git a/zjcf-pojo/pom.xml b/zjcf-pojo/pom.xml new file mode 100644 index 0000000..2411d97 --- /dev/null +++ b/zjcf-pojo/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + com.zjcf + zjcf + 1.0-SNAPSHOT + + + zjcf-pojo + + + 8 + 8 + UTF-8 + + + \ No newline at end of file diff --git a/zjcf-server/pom.xml b/zjcf-server/pom.xml new file mode 100644 index 0000000..30a63e9 --- /dev/null +++ b/zjcf-server/pom.xml @@ -0,0 +1,107 @@ + + + 4.0.0 + com.zjcf + zjcf-server + 0.0.1-SNAPSHOT + zjcf-server + zjcf-server + + 1.8 + UTF-8 + UTF-8 + 2.6.13 + + + + + com.zjcf + zjcf-common + 1.0-SNAPSHOT + + + + org.springframework.boot + spring-boot-starter-data-redis + + + org.springframework.boot + spring-boot-starter-jdbc + + + org.springframework.boot + spring-boot-starter-quartz + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-devtools + runtime + true + + + 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.zjcf.ZJCFApplication + true + + + + repackage + + repackage + + + + + + + + diff --git a/zjcf-server/src/main/java/com/zjcf/ZJCFApplication.java b/zjcf-server/src/main/java/com/zjcf/ZJCFApplication.java new file mode 100644 index 0000000..b6e1061 --- /dev/null +++ b/zjcf-server/src/main/java/com/zjcf/ZJCFApplication.java @@ -0,0 +1,11 @@ +package com.zjcf; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class ZJCFApplication { + public static void main(String[] args) { + SpringApplication.run(ZJCFApplication.class, args); + } +} diff --git a/zjcf-server/src/main/resources/application.yml b/zjcf-server/src/main/resources/application.yml new file mode 100644 index 0000000..aa90a38 --- /dev/null +++ b/zjcf-server/src/main/resources/application.yml @@ -0,0 +1,3 @@ +server: + port: 8080 + diff --git a/zjcf-server/src/test/java/com/zjcf/ZJCFApplicationTests.java b/zjcf-server/src/test/java/com/zjcf/ZJCFApplicationTests.java new file mode 100644 index 0000000..6852ca1 --- /dev/null +++ b/zjcf-server/src/test/java/com/zjcf/ZJCFApplicationTests.java @@ -0,0 +1,13 @@ +package com.zjcf; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class ZJCFApplicationTests { + + @Test + void contextLoads() { + } + +}