chore: bump exec plugin to 3.6.2, use successCode for broken daemon shutdown

This commit is contained in:
Renzo Kottmann 2025-11-05 18:31:08 +01:00
parent 53a967f4a8
commit 9601f921e5

View file

@ -458,7 +458,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.5.0</version>
<version>3.6.2</version>
<executions>
<execution>
<id>run</id>
@ -469,10 +469,15 @@
</execution>
</executions>
<configuration>
<inheritIo>true</inheritIo>
<!-- have to catch exit codes, cause daemon throws 1 if shutdown is not proper-->
<successCodes>0,1</successCodes>
<executable>java</executable>
<longClasspath>false</longClasspath>
<async>true</async>
<asyncDestroyOnShutdown>true</asyncDestroyOnShutdown>
<cleanupDaemonThreads>false</cleanupDaemonThreads>
<arguments>
<!--suppress MavenModelInspection -->
<argument>${jacocoFailsafe}</argument>
@ -500,7 +505,7 @@
<target>
<!-- schlafen um den Start des Daemon abzuwarten -->
<sleep seconds="10" />
<echo>${jacoco.tcp.port}</echo>
<echo >jacoco.tcp.port=${jacoco.tcp.port}</echo>
</target>
</configuration>
<executions>