]> Git Server - tankstelle.git/commitdiff
pom.xml: Added Main Class attribute
authorRobin Cheney <cheneyr@eternal.ddnss.de>
Fri, 7 Nov 2025 09:19:31 +0000 (10:19 +0100)
committerRobin Cheney <cheneyr@eternal.ddnss.de>
Fri, 7 Nov 2025 09:19:31 +0000 (10:19 +0100)
pom.xml

diff --git a/pom.xml b/pom.xml
index f0c1fd3b02c3b838d2f964083ec8791af77951ae..7d8c41629aeabf76111cdd48e58a74afe46c354a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,12 +1,27 @@
 <?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">
+    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>de.tankstelle</groupId>
+    <groupId>de.diejungsvondertanke.tankstelle</groupId>
     <artifactId>tankstelle</artifactId>
     <version>1.0-SNAPSHOT</version>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <version>3.3.0</version>
+                <configuration>
+                    <archive>
+                        <manifest>
+                            <mainClass>de.diejungsvondertanke.tankstelle.Main</mainClass>
+                        </manifest>
+                    </archive>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 
     <properties>
         <maven.compiler.source>25</maven.compiler.source>