mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
chore: bump exec plugin to 3.6.2, use successCode for broken daemon shutdown
This commit is contained in:
parent
53a967f4a8
commit
9601f921e5
1 changed files with 7 additions and 2 deletions
9
pom.xml
9
pom.xml
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue