From 0e8000225ec8c03ebe1d812479d0eb6cb3546f89 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 3 Jun 2025 15:52:29 +0200 Subject: [PATCH] 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