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 f412f72110

View file

@ -458,7 +458,7 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId> <artifactId>exec-maven-plugin</artifactId>
<version>3.5.0</version> <version>3.6.2</version>
<executions> <executions>
<execution> <execution>
<id>run</id> <id>run</id>
@ -469,10 +469,15 @@
</execution> </execution>
</executions> </executions>
<configuration> <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> <executable>java</executable>
<longClasspath>false</longClasspath> <longClasspath>false</longClasspath>
<async>true</async> <async>true</async>
<asyncDestroyOnShutdown>true</asyncDestroyOnShutdown> <asyncDestroyOnShutdown>true</asyncDestroyOnShutdown>
<cleanupDaemonThreads>false</cleanupDaemonThreads>
<arguments> <arguments>
<!--suppress MavenModelInspection --> <!--suppress MavenModelInspection -->
<argument>${jacocoFailsafe}</argument> <argument>${jacocoFailsafe}</argument>
@ -500,7 +505,7 @@
<target> <target>
<!-- schlafen um den Start des Daemon abzuwarten --> <!-- schlafen um den Start des Daemon abzuwarten -->
<sleep seconds="10" /> <sleep seconds="10" />
<echo>${jacoco.tcp.port}</echo> <echo >jacoco.tcp.port=${jacoco.tcp.port}</echo>
</target> </target>
</configuration> </configuration>
<executions> <executions>