From 0e8000225ec8c03ebe1d812479d0eb6cb3546f89 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 3 Jun 2025 15:52:29 +0200 Subject: [PATCH 1/2] erster commit auf test --- SchachMVN/.classpath | 40 ++++++ SchachMVN/.gitignore | 1 + SchachMVN/.project | 23 ++++ SchachMVN/pom.xml | 161 +++++++++++++++++++++++++ SchachMVN/src/main/java/test/Main.java | 28 +++++ 5 files changed, 253 insertions(+) create mode 100644 SchachMVN/.classpath create mode 100644 SchachMVN/.gitignore create mode 100644 SchachMVN/.project create mode 100644 SchachMVN/pom.xml create mode 100644 SchachMVN/src/main/java/test/Main.java diff --git a/SchachMVN/.classpath b/SchachMVN/.classpath new file mode 100644 index 0000000..fe27910 --- /dev/null +++ b/SchachMVN/.classpath @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SchachMVN/.gitignore b/SchachMVN/.gitignore new file mode 100644 index 0000000..b83d222 --- /dev/null +++ b/SchachMVN/.gitignore @@ -0,0 +1 @@ +/target/ diff --git a/SchachMVN/.project b/SchachMVN/.project new file mode 100644 index 0000000..601ef0b --- /dev/null +++ b/SchachMVN/.project @@ -0,0 +1,23 @@ + + + SchachMVN + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + + diff --git a/SchachMVN/pom.xml b/SchachMVN/pom.xml new file mode 100644 index 0000000..c772f16 --- /dev/null +++ b/SchachMVN/pom.xml @@ -0,0 +1,161 @@ + + 4.0.0 + org.th_mannheim + SchachMVN + 0.0.1-SNAPSHOT + Schach + + UTF-8 + 21 + 21 + + + + + org.junit.jupiter + junit-jupiter-api + 5.8.1 + test + + + + org.junit.jupiter + junit-jupiter-engine + 5.8.1 + test + + + + org.apache.logging.log4j + log4j-core + 2.24.2 + + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.13.0 + + ${maven.compiler.source} + ${maven.compiler.target} + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.5.3 + + + **/*Test.java + + + **/IntegrationTest.java + + classes + 4 + + + + + + org.apache.maven.plugins + maven-shade-plugin + 3.6.0 + + false + + + + package + + shade + + + + + + de.hs_mannheim.informatik.mvn.Main + + + + + + + + + + org.jacoco + jacoco-maven-plugin + 0.8.12 + + + + prepare-agent + + + + report + test + + report + + + + + + + + org.apache.maven.plugins + maven-pmd-plugin + 3.26.0 + + false + true + + + + verify + + check + + + + + + + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.11.2 + + private + true + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.6.0 + + + + + + + \ No newline at end of file diff --git a/SchachMVN/src/main/java/test/Main.java b/SchachMVN/src/main/java/test/Main.java new file mode 100644 index 0000000..4ce6152 --- /dev/null +++ b/SchachMVN/src/main/java/test/Main.java @@ -0,0 +1,28 @@ +package test; +import javax.swing.JFrame; +import javax.swing.JLabel; +import javax.swing.SwingUtilities; + +public class Main { + + public static void main(String[] args) { + + SwingUtilities.invokeLater(() -> new uiHelloWorld()); + } +} + +class uiHelloWorld extends JFrame { + + public uiHelloWorld() { + + JLabel label = new JLabel("Hello World!", JLabel.CENTER); + add(label); + + setSize(300, 150); + setLocationRelativeTo(null); + setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + setTitle("UI"); + setVisible(true); + + } +} \ No newline at end of file -- 2.43.0 From 702660e1ac9fe6510745d6b298d5e55b7ae4615d Mon Sep 17 00:00:00 2001 From: Matias Mas Viehl <3020772@stud.hs-mannheim.de> Date: Thu, 5 Jun 2025 10:46:24 +0200 Subject: [PATCH 2/2] SchachMVN/.gitignore aktualisiert --- SchachMVN/.gitignore | 62 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/SchachMVN/.gitignore b/SchachMVN/.gitignore index b83d222..232f89a 100644 --- a/SchachMVN/.gitignore +++ b/SchachMVN/.gitignore @@ -1 +1,61 @@ -/target/ +# ---> Eclipse +.metadata +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.settings/ +.loadpath +.recommenders + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# PyDev specific (Python IDE for Eclipse) +*.pydevproject + +# CDT-specific (C/C++ Development Tooling) +.cproject + +# CDT- autotools +.autotools + +# Java annotation processor (APT) +.factorypath + +# PDT-specific (PHP Development Tools) +.buildpath + +# sbteclipse plugin +.target + +# Tern plugin +.tern-project + +# TeXlipse plugin +.texlipse + +# STS (Spring Tool Suite) +.springBeans + +# Code Recommenders +.recommenders/ + +# Annotation Processing +.apt_generated/ +.apt_generated_test/ + +# Scala IDE specific (Scala & Java development for Eclipse) +.cache-main +.scala_dependencies +.worksheet + +# Uncomment this line if you wish to ignore the project description file. +# Typically, this file would be tracked if it contains build/dependency configurations: +#.project \ No newline at end of file -- 2.43.0