From 9ca39a9ec39ff9414889eb90c279db98f12b5695 Mon Sep 17 00:00:00 2001 From: Gianmarco Pettinato Date: Sun, 3 Apr 2022 21:25:37 +0200 Subject: [PATCH] base commit --- pom.xml | 75 ++++++++++++++++++++++++ src/main/java/com/gitlesson/App.java | 13 ++++ src/test/java/com/gitlesson/AppTest.java | 20 +++++++ 3 files changed, 108 insertions(+) create mode 100644 pom.xml create mode 100644 src/main/java/com/gitlesson/App.java create mode 100644 src/test/java/com/gitlesson/AppTest.java diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..f1464ae --- /dev/null +++ b/pom.xml @@ -0,0 +1,75 @@ + + + + 4.0.0 + + com.gitlesson + gitlesson + 1.0-SNAPSHOT + + gitlesson + + http://www.example.com + + + UTF-8 + 1.7 + 1.7 + + + + + junit + junit + 4.11 + test + + + + + + + + + maven-clean-plugin + 3.1.0 + + + + maven-resources-plugin + 3.0.2 + + + maven-compiler-plugin + 3.8.0 + + + maven-surefire-plugin + 2.22.1 + + + maven-jar-plugin + 3.0.2 + + + maven-install-plugin + 2.5.2 + + + maven-deploy-plugin + 2.8.2 + + + + maven-site-plugin + 3.7.1 + + + maven-project-info-reports-plugin + 3.0.0 + + + + + diff --git a/src/main/java/com/gitlesson/App.java b/src/main/java/com/gitlesson/App.java new file mode 100644 index 0000000..8400336 --- /dev/null +++ b/src/main/java/com/gitlesson/App.java @@ -0,0 +1,13 @@ +package com.gitlesson; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/src/test/java/com/gitlesson/AppTest.java b/src/test/java/com/gitlesson/AppTest.java new file mode 100644 index 0000000..a748244 --- /dev/null +++ b/src/test/java/com/gitlesson/AppTest.java @@ -0,0 +1,20 @@ +package com.gitlesson; + +import static org.junit.Assert.assertTrue; + +import org.junit.Test; + +/** + * Unit test for simple App. + */ +public class AppTest +{ + /** + * Rigorous Test :-) + */ + @Test + public void shouldAnswerWithTrue() + { + assertTrue( true ); + } +}