From 8164dded56017f5c4b8938b6edd9b23c3382a40a Mon Sep 17 00:00:00 2001 From: Joel Cavat <jcavat@gmail.com> Date: Thu, 29 Nov 2018 16:40:43 +0100 Subject: [PATCH] Add exec-maven plugin --- pom.xml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/pom.xml b/pom.xml index 962f5ab..e0fed22 100644 --- a/pom.xml +++ b/pom.xml @@ -21,4 +21,34 @@ </dependency> </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.6.0</version> + <executions> + <execution> + <goals> + <goal>java</goal> + </goals> + </execution> + </executions> + <configuration> + <mainClass>ch.hepia.App</mainClass> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.22.0</version> + <configuration> + <excludes> + <exclude>some test to exclude here</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </build> + </project> \ No newline at end of file -- GitLab