Fix integration test reporting (#2490)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2025-06-23 14:52:40 +03:00
committed by GitHub
parent 5586e4b302
commit fde4917c20
3 changed files with 8 additions and 37 deletions

View File

@@ -19,7 +19,7 @@
</parent>
<artifactId>hawkbit-ddi-security</artifactId>
<name>hawkBit :: Security :: Controller</name>
<name>hawkBit :: DDI :: Security</name>
<dependencies>
<dependency>

View File

@@ -35,7 +35,7 @@
</dependency>
<dependency>
<groupId>org.eclipse.hawkbit</groupId>
<artifactId>hawkbit-ddi-security</artifactId>
<artifactId>hawkbit-artifact-repository-filesystem</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
@@ -53,11 +53,6 @@
<artifactId>hawkbit-repository-jpa</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.hawkbit</groupId>
<artifactId>hawkbit-artifact-repository-filesystem</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.hawkbit</groupId>
<artifactId>hawkbit-autoconfigure</artifactId>
@@ -73,6 +68,11 @@
<artifactId>hawkbit-ddi-resource</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.hawkbit</groupId>
<artifactId>hawkbit-ddi-security</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.hawkbit</groupId>
<artifactId>hawkbit-mgmt-api</artifactId>

31
pom.xml
View File

@@ -85,7 +85,6 @@
<maven.site.plugin.version>3.21.0</maven.site.plugin.version>
<maven.surefire.plugin.version>3.5.3</maven.surefire.plugin.version>
<maven.failsafe.plugin.version>3.5.3</maven.failsafe.plugin.version>
<jacoco.maven.plugin.version>0.8.13</jacoco.maven.plugin.version>
<license.tool.plugin.version>1.1.0</license.tool.plugin.version>
@@ -97,8 +96,6 @@
<!-- Test - START -->
<surefire.forkcount>1</surefire.forkcount>
<surefire.jvm.args/>
<failsafe.forkcount>${surefire.forkcount}</failsafe.forkcount>
<failsafe.jvm.args>-Xmx1024m</failsafe.jvm.args>
<!-- Test - END -->
<!-- Sonar - START -->
@@ -538,40 +535,14 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration>
<!-- Bugfix for OpenJDK 8u181, see https://issues.apache.org/jira/browse/SUREFIRE-1588 -->
<useSystemClassLoader>false</useSystemClassLoader>
<reuseForks>true</reuseForks>
<forkCount>${surefire.forkcount}</forkCount>
<argLine>${jacoco.agent.args} ${surefire.jvm.args}</argLine>
<includes>
<include>**/*Tests.java</include>
<include>**/*Test.java</include>
<include>**/*IT.java</include>
</includes>
<excludes>
<exclude>**/Abstract*.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.failsafe.plugin.version}</version>
<configuration>
<reuseForks>false</reuseForks>
<forkCount>${failsafe.forkcount}</forkCount>
<argLine>${jacoco.agent.integration.args} ${failsafe.jvm.args}</argLine>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>integration-test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
@@ -711,7 +682,7 @@
<executions>
<execution>
<id>generate-surefire-report</id>
<phase>package</phase>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>