Skip to content

Commit 3cbd1af

Browse files
committed
Activate 'streamLogsOnFailures' for Maven Invoker
This way, it is easier to debug failing integration tests on CI environments, where it is difficult or impossible to add the individual IT build logs. OTOH, the Maven debug statements in the test output are usually making it quite hard to find the actual error that occurred. While helpful in rare cases, most of the time the normal Maven build output should easily suffice in order to identify and fix integration test problems. Therefore, I deactivated 'debug' for Maven Invoker. This should strike a sensible balance between inlining IT error logs into the outer Maven build log in case of errors and not polluting it with too much information.
1 parent cec1977 commit 3cbd1af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plexus-compiler-its/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
<goal>verify</goal>
4040
</goals>
4141
<configuration>
42-
<debug>true</debug>
42+
<debug>false</debug>
43+
<streamLogsOnFailures>true</streamLogsOnFailures>
4344
<projectsDirectory>src/main/it</projectsDirectory>
4445
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
4546
<postBuildHookScript>verify</postBuildHookScript>

0 commit comments

Comments
 (0)