diff --git a/.inscode b/.inscode index 557edd83095590e4b0fa3a215a23bfa2809727aa..53b64f3eb56981949e5bda77a02de2d4f9a90329 100644 --- a/.inscode +++ b/.inscode @@ -1 +1 @@ -run = "java Main.java" +run = "mvn -Dmaven.test.skip=true clean package" diff --git a/Main.class b/Main.class deleted file mode 100644 index 4717f9d9890ab638386b1c3607e885df89a8b59a..0000000000000000000000000000000000000000 Binary files a/Main.class and /dev/null differ diff --git a/Main.java b/Main.java deleted file mode 100644 index 1a68b2dd0a36d3447eed91dc217b0ec3bb12c172..0000000000000000000000000000000000000000 --- a/Main.java +++ /dev/null @@ -1,5 +0,0 @@ -class Main { - public static void main(String[] args) { - System.out.println("Hello world!"); - } -} \ No newline at end of file diff --git a/inscode.nix b/inscode.nix index ee4c15ce4f9b23e3b685528d0d50e808be6cb962..20c64c44090f9f953fcaf03d7b142f66d143a5c6 100644 --- a/inscode.nix +++ b/inscode.nix @@ -1,6 +1,6 @@ { pkgs }: { deps = [ - pkgs.graalvm17-ce + pkgs.graalvm11-ce pkgs.maven ]; } \ No newline at end of file diff --git a/pom.xml b/pom.xml index 420bbe01be9c9edf7f51e48198797278e49033a0..ed6d077cf5682845d65becbadda259832e8b0533 100644 --- a/pom.xml +++ b/pom.xml @@ -1,53 +1,40 @@ - - 4.0.0 - mygroupid - myartifactid - 0.0-SNAPSHOT - - - junit - junit - 4.12 - jar - - - com.googlecode.json-simple - json-simple - 1.1.1 - jar - - - org.hamcrest - hamcrest-core - 1.3 - jar - - - - - - de.qaware.maven - go-offline-maven-plugin - 1.2.5 - - - - org.apache.maven.surefire - surefire-junit4 - 2.20.1 - - PLUGIN - - - com.querydsl - querydsl-apt - 4.2.1 - jpa - MAIN - - - - - - + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.0.6 + + + com.lhstack + template + 1.0-SNAPSHOT + + 17 + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + \ No newline at end of file diff --git a/src/main/java/com/lhstack/TemplateApplication.java b/src/main/java/com/lhstack/TemplateApplication.java new file mode 100644 index 0000000000000000000000000000000000000000..d70e51d947c08b0192af3e4ce6e71af8903fb2b6 --- /dev/null +++ b/src/main/java/com/lhstack/TemplateApplication.java @@ -0,0 +1,10 @@ +package com.lhstack; + +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class TemplateApplication { + public static void main(String[] args) { + System.out.println("hello world"); + } +} diff --git a/src/main/resources/config.properties b/src/main/resources/config.properties new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/target/classes/config.properties b/target/classes/config.properties new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391