diff --git a/MavenChess/MavenChess/pom.xml b/MavenChess/MavenChess/pom.xml
index b71d464b6da0f270d46ba9157f31c686480f95bd..bbc59d135b7873223aa3565ce84e7c4c6eee67e3 100644
--- a/MavenChess/MavenChess/pom.xml
+++ b/MavenChess/MavenChess/pom.xml
@@ -51,6 +51,18 @@
                     <target>18</target>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <version>3.3.0</version>
+                <configuration>
+                    <archive>
+                        <manifest>
+                            <mainClass>controller.Main</mainClass>
+                        </manifest>
+                    </archive>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>org.openjfx</groupId>
                 <artifactId>javafx-maven-plugin</artifactId>