From 23a4040b39528f2bc4bfb3afcd9826c6f1ba3704 Mon Sep 17 00:00:00 2001 From: Mykola Derevianko Date: Fri, 3 Oct 2025 10:48:59 +0200 Subject: [PATCH] Added Readme.txt to the repository --- Readme.txt | 0 nbactions.xml | 46 ++++++++++++++++ pom.xml | 55 +++++++++++++++++++ .../java/com/example/BasicApplication.java | 13 +++++ src/main/resources/application.properties | 1 + .../com/example/BasicApplicationTests.java | 13 +++++ 6 files changed, 128 insertions(+) create mode 100644 Readme.txt create mode 100644 nbactions.xml create mode 100644 pom.xml create mode 100644 src/main/java/com/example/BasicApplication.java create mode 100644 src/main/resources/application.properties create mode 100644 src/test/java/com/example/BasicApplicationTests.java diff --git a/Readme.txt b/Readme.txt new file mode 100644 index 0000000..e69de29 diff --git a/nbactions.xml b/nbactions.xml new file mode 100644 index 0000000..e2de0eb --- /dev/null +++ b/nbactions.xml @@ -0,0 +1,46 @@ + + + + run + + jar + + + spring-boot:run + + + -noverify -XX:TieredStopAtLevel=1 + com.example.BasicApplication + always + + + + debug + + jar + + + spring-boot:run + + + -Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -noverify -XX:TieredStopAtLevel=1 + com.example.BasicApplication + always + true + + + + profile + + jar + + + process-classes + org.codehaus.mojo:exec-maven-plugin:1.2.1:exec + + + -classpath %classpath com.example.BasicApplication + java + + + diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..1d74669 --- /dev/null +++ b/pom.xml @@ -0,0 +1,55 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 2.3.2.RELEASE + + + com.example + basic + 0.0.1-SNAPSHOT + + basic + Demo project for Spring Boot + + + 1.8 + + + + + org.springframework.boot + spring-boot-starter + + + + org.springframework.boot + spring-boot-configuration-processor + true + + + org.springframework.boot + spring-boot-starter-test + test + + + org.junit.vintage + junit-vintage-engine + + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/src/main/java/com/example/BasicApplication.java b/src/main/java/com/example/BasicApplication.java new file mode 100644 index 0000000..79f0b9c --- /dev/null +++ b/src/main/java/com/example/BasicApplication.java @@ -0,0 +1,13 @@ +package com.example; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class BasicApplication { + + public static void main(String[] args) { + SpringApplication.run(BasicApplication.class, args); + } + +} diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1 @@ + diff --git a/src/test/java/com/example/BasicApplicationTests.java b/src/test/java/com/example/BasicApplicationTests.java new file mode 100644 index 0000000..0fec5e2 --- /dev/null +++ b/src/test/java/com/example/BasicApplicationTests.java @@ -0,0 +1,13 @@ +package com.example; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class BasicApplicationTests { + + @Test + void contextLoads() { + } + +}