diff --git a/.theia/settings.json b/.theia/settings.json new file mode 100644 index 0000000000000000000000000000000000000000..e0f15db2eb22b5d618150277e48b741f8fdd277a --- /dev/null +++ b/.theia/settings.json @@ -0,0 +1,3 @@ +{ + "java.configuration.updateBuildConfiguration": "automatic" +} \ No newline at end of file diff --git a/todolist/.gitignore b/todolist/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..213163975bb915006004bbbf5a9c7d75f6598f95 --- /dev/null +++ b/todolist/.gitignore @@ -0,0 +1,2 @@ +# ignore maven build folder +target/ diff --git a/todolist/pom.xml b/todolist/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..cfa60dda71957dedde577de173a25fbc3845a2d9 --- /dev/null +++ b/todolist/pom.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>it1901</groupId> + <artifactId>todolist</artifactId> + <version>0.0.1-SNAPSHOT</version> + + <name>todolist</name> + <!-- FIXME change it to the project's website --> + <url>http://www.example.com</url> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + + <dependencies> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-api</artifactId> + <version>5.4.2</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-engine</artifactId> + <version>5.4.2</version> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <encoding>UTF-8</encoding> + <release>14</release> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>3.0.0-M5</version> + </plugin> + </plugins> + </build> +</project> diff --git a/todolist/src/main/java/todolist/App.java b/todolist/src/main/java/todolist/App.java new file mode 100644 index 0000000000000000000000000000000000000000..1925bda43ce8d42e878f39023cd03af324a6b43e --- /dev/null +++ b/todolist/src/main/java/todolist/App.java @@ -0,0 +1,13 @@ +package todolist; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/todolist/src/test/java/todolist/AppTest.java b/todolist/src/test/java/todolist/AppTest.java new file mode 100644 index 0000000000000000000000000000000000000000..6863505ed2049fdd89ec085907f9b443350352ec --- /dev/null +++ b/todolist/src/test/java/todolist/AppTest.java @@ -0,0 +1,12 @@ +package todolist; + +import static org.junit.jupiter.api.Assertions.assertTrue; +import org.junit.jupiter.api.Test; + +public class AppTest { + + @Test + public void shouldAnswerWithTrue() { + assertTrue(true); + } +}