From a67fe8ea448712d3bb3cbadd82a1afe598d8abfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BE=D0=BB=D0=BE=D0=B4=D0=B8=D0=BD=20=D0=93=D0=B5?= =?UTF-8?q?=D1=80=D0=BC=D0=B0=D0=BD?= Date: Fri, 21 Aug 2026 13:50:29 +0400 Subject: [PATCH] feat: initialize Maven project --- app/.mvn/jvm.config | 0 app/.mvn/maven.config | 0 app/pom.xml | 95 ++++++++++++++++++++++ app/src/main/java/com/example/App.java | 10 +++ app/src/test/java/com/example/AppTest.java | 19 +++++ 5 files changed, 124 insertions(+) create mode 100644 app/.mvn/jvm.config create mode 100644 app/.mvn/maven.config create mode 100644 app/pom.xml create mode 100644 app/src/main/java/com/example/App.java create mode 100644 app/src/test/java/com/example/AppTest.java diff --git a/app/.mvn/jvm.config b/app/.mvn/jvm.config new file mode 100644 index 0000000..e69de29 diff --git a/app/.mvn/maven.config b/app/.mvn/maven.config new file mode 100644 index 0000000..e69de29 diff --git a/app/pom.xml b/app/pom.xml new file mode 100644 index 0000000..4b9f97d --- /dev/null +++ b/app/pom.xml @@ -0,0 +1,95 @@ + + + 4.0.0 + + com.example + app + 1.0-SNAPSHOT + + app + + http://www.example.com + + + UTF-8 + 17 + + + + + + org.junit + junit-bom + 5.11.0 + pom + import + + + + + + + org.junit.jupiter + junit-jupiter-api + test + + + + org.junit.jupiter + junit-jupiter-params + test + + + + + + + + + maven-clean-plugin + 3.4.0 + + + + maven-resources-plugin + 3.3.1 + + + maven-compiler-plugin + 3.13.0 + + + maven-surefire-plugin + 3.3.0 + + + maven-jar-plugin + 3.4.2 + + + maven-install-plugin + 3.1.2 + + + maven-deploy-plugin + 3.1.2 + + + + maven-site-plugin + 3.12.1 + + + maven-project-info-reports-plugin + 3.6.1 + + + + + diff --git a/app/src/main/java/com/example/App.java b/app/src/main/java/com/example/App.java new file mode 100644 index 0000000..daa6d08 --- /dev/null +++ b/app/src/main/java/com/example/App.java @@ -0,0 +1,10 @@ +package com.example; + +/** + * Hello world! + */ +public class App { + public static void main(String[] args) { + System.out.println("Hello World!"); + } +} diff --git a/app/src/test/java/com/example/AppTest.java b/app/src/test/java/com/example/AppTest.java new file mode 100644 index 0000000..e4db7b5 --- /dev/null +++ b/app/src/test/java/com/example/AppTest.java @@ -0,0 +1,19 @@ +package com.example; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +import org.junit.jupiter.api.Test; + +/** + * Unit test for simple App. + */ +public class AppTest { + + /** + * Rigorous Test :-) + */ + @Test + public void shouldAnswerWithTrue() { + assertTrue(true); + } +}