From 85b91f22c1ea5326dcfcd5caa2e44baa8a02ab5e Mon Sep 17 00:00:00 2001 From: Thomas Rubini <74205383+ThomasRubini@users.noreply.github.com> Date: Tue, 7 Jun 2022 10:29:16 +0200 Subject: [PATCH] Ajout d'un support pour du packaging --- pom.xml | 11 +++++++++++ src/main/java/fr/univ_amu/iut/Launcher.java | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 src/main/java/fr/univ_amu/iut/Launcher.java diff --git a/pom.xml b/pom.xml index fdfe5ca..1741d4e 100644 --- a/pom.xml +++ b/pom.xml @@ -148,6 +148,17 @@ + + org.apache.maven.plugins + maven-jar-plugin + + + + fr.univ_amu.iut.Launcher + + + + org.apache.maven.plugins maven-compiler-plugin diff --git a/src/main/java/fr/univ_amu/iut/Launcher.java b/src/main/java/fr/univ_amu/iut/Launcher.java new file mode 100644 index 0000000..6ab56b4 --- /dev/null +++ b/src/main/java/fr/univ_amu/iut/Launcher.java @@ -0,0 +1,7 @@ +package fr.univ_amu.iut; + +public class Launcher { + public static void main(String[] args) throws Exception { + Main.main(args); + } +}