From bc83343f39d981ab7f4548786e72a7de17a1818a Mon Sep 17 00:00:00 2001 From: 632d6423b4d9145d677b07db <632d6423b4d9145d677b07db@devide> Date: Fri, 21 Apr 2023 09:52:23 +0000 Subject: [PATCH] UPDATE --- .inscode | 2 +- Main.class | Bin 414 -> 0 bytes Main.java | 5 - inscode.nix | 2 +- pom.xml | 91 ++++++++---------- .../java/com/lhstack/TemplateApplication.java | 10 ++ src/main/resources/config.properties | 0 target/classes/config.properties | 0 8 files changed, 51 insertions(+), 59 deletions(-) delete mode 100644 Main.class delete mode 100644 Main.java create mode 100644 src/main/java/com/lhstack/TemplateApplication.java create mode 100644 src/main/resources/config.properties create mode 100644 target/classes/config.properties diff --git a/.inscode b/.inscode index 557edd8..53b64f3 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 GIT binary patch literal 0 HcmV?d00001 literal 414 zcmZvY%}T>i5QWb)vA2oQ*4EbFLc0)B7v=$~ZUk{re<0G0tF*n8TasLfiQ;4FLcxU( z;6sUX<3fbq#oWWpnUCRoeSdrcI6>D%1(tyAVFgt}V-Y<@K^&#?;Cix<)0|K}R;kKQ z36?(?JE*}Ca6PQT`)3cIA99(nOBcM<9+e=agPTmHd6;K1N`^J86TAx<$GZ2Vvv}5b z(ZGg4(?biJgw~QRg19$~IAyH=%PkLNs7mLGx8R diff --git a/Main.java b/Main.java deleted file mode 100644 index 1a68b2d..0000000 --- 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 ee4c15c..20c64c4 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 420bbe0..ed6d077 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 0000000..d70e51d --- /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 0000000..e69de29 diff --git a/target/classes/config.properties b/target/classes/config.properties new file mode 100644 index 0000000..e69de29 -- GitLab