From c6c4d4450d0ba499b1ba4c881cf6181499df8ce7 Mon Sep 17 00:00:00 2001 From: Bohdan Chupika Date: Mon, 28 Oct 2019 16:33:37 +0200 Subject: [PATCH] Initial commit --- .gitignore | 3 + .travis.yml | 8 +++ README.md | 1 + pom.xml | 67 +++++++++++++++++++ src/main/java/core/basesyntax/HelloWorld.java | 8 +++ .../java/core/basesyntax/HelloWorldTest.java | 8 +++ 6 files changed, 95 insertions(+) create mode 100644 .gitignore create mode 100644 .travis.yml create mode 100644 README.md create mode 100644 pom.xml create mode 100644 src/main/java/core/basesyntax/HelloWorld.java create mode 100644 src/test/java/core/basesyntax/HelloWorldTest.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..6366460f0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.idea/* +*.iml +target/* diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..dce3679d9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +language: java +jdk: + - openjdk11 +script: + - mvn clean install +cache: + directories: + - $HOME/.m2 diff --git a/README.md b/README.md new file mode 100644 index 000000000..0078a8896 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# jv-homework-template diff --git a/pom.xml b/pom.xml new file mode 100644 index 000000000..651d4d3ac --- /dev/null +++ b/pom.xml @@ -0,0 +1,67 @@ + + + 4.0.0 + + mate-academy + diamond + 1.0-SNAPSHOT + + + 11 + UTF-8 + UTF-8 + 3.1.0 + + https://raw.githubusercontent.com/mate-academy/style-guides/master/java/checkstyle.xml + + + + + + junit + junit + 4.12 + test + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + + compile + + check + + + + + ${maven.checkstyle.plugin.configLocation} + UTF-8 + true + true + false + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.0 + + ${jdk.version} + ${jdk.version} + ${project.build.sourceEncoding} + + + + + + + diff --git a/src/main/java/core/basesyntax/HelloWorld.java b/src/main/java/core/basesyntax/HelloWorld.java new file mode 100644 index 000000000..97db782bf --- /dev/null +++ b/src/main/java/core/basesyntax/HelloWorld.java @@ -0,0 +1,8 @@ +package core.basesyntax; + +/** + * Feel free to remove this class and create your own. + */ +public class HelloWorld { + +} diff --git a/src/test/java/core/basesyntax/HelloWorldTest.java b/src/test/java/core/basesyntax/HelloWorldTest.java new file mode 100644 index 000000000..de0838c2d --- /dev/null +++ b/src/test/java/core/basesyntax/HelloWorldTest.java @@ -0,0 +1,8 @@ +package core.basesyntax; + +/** + * Feel free to remove this class and create your own. + */ +public class HelloWorldTest { + +} \ No newline at end of file