You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by kw...@apache.org on 2025/01/14 17:00:41 UTC
(jackrabbit-oak) 01/01: OAK-11390 Generate aggregate UT/IT reports with profile "pedantic"
This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch feature/expose-unit-reports
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
commit c9f7f198ff6a477a120eb25610c3d41a8b58904f
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Tue Jan 14 18:00:28 2025 +0100
OAK-11390 Generate aggregate UT/IT reports with profile "pedantic"
That helps to quickly check which tests take particularly long
---
pom.xml | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/pom.xml b/pom.xml
index 9990f0ab44..d20005a0e5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -285,6 +285,38 @@ An announcement mail template can be found at:
</plugins>
</build>
</profile>
+ <profile>
+ <id>pedantic</id>
+ <build>
+ <plugins>
+ <!-- create aggregate HTML reports on unit and integration tests -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <inherited>false</inherited>
+ <configuration>
+ <aggregate>true</aggregate>
+ </configuration>
+ <executions>
+ <execution>
+ <id>aggregate-ut-reports</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>report-only</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>aggregate-it-reports</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>failsafe-report-only</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>