From 425ea9b277a4bb6d6c2b299ee27d4fcf41366775 Mon Sep 17 00:00:00 2001 From: fdai7600 Date: Tue, 6 Feb 2024 16:29:39 +0100 Subject: [PATCH] Initial commit --- .gitignore | 38 ++++++++++++ .idea/encodings.xml | 7 +++ .idea/misc.xml | 15 +++++ .idea/vcs.xml | 6 ++ .idea/workspace.xml | 95 +++++++++++++++++++++++++++++ build-project.sh | 14 +++++ pom.xml | 17 ++++++ src/main/java/org/example/Main.java | 7 +++ 8 files changed, 199 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/encodings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 build-project.sh create mode 100644 pom.xml create mode 100644 src/main/java/org/example/Main.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ff6309 --- /dev/null +++ b/.gitignore @@ -0,0 +1,38 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..aa00ffa --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..e4e2ad7 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,15 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..369e8af --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + { + "associatedIndex": 4 +} + + + + + + + + + + + + + + + + 1707228921233 + + + + + + + + + + + + \ No newline at end of file diff --git a/build-project.sh b/build-project.sh new file mode 100644 index 0000000..54ea419 --- /dev/null +++ b/build-project.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# Exit script on any error +set -e + +# Echo commands to the terminal +set -x + +echo "Building the project and running tests..." + +# Clean the project, compile sources, run tests, and package the project +mvn clean install + +echo "Build and test processes are completed." \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..2d767b6 --- /dev/null +++ b/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + org.example + PWN_Alpha_Dogs + 1.0-SNAPSHOT + + + 19 + 19 + UTF-8 + + + \ No newline at end of file diff --git a/src/main/java/org/example/Main.java b/src/main/java/org/example/Main.java new file mode 100644 index 0000000..407f157 --- /dev/null +++ b/src/main/java/org/example/Main.java @@ -0,0 +1,7 @@ +package org.example; + +public class Main { + public static void main(String[] args) { + System.out.println("Hello world!"); + } +} \ No newline at end of file