`maven-failsafe-plugin` suddenly stopped generating summary file starting with `3.3.0` to `3.4.0` update

maven-failsafe-plugin suddenly stopped generating summary file starting with 3.3.0 to 3.4.0 update. This is causing a failure because of which mvn clean verify won’t succeed on my java project.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.5.0:verify (integration-test-verify) on project ABC: /Users/rohan.zaveri/abc/def/xyz/target/failsafe-reports/failsafe-summary-abc.xml (No such file or directory) -> [Help 1]

My maven-failsafe-plugin setup for integration test reports and verification in the pom.xml file of my java project root module:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-failsafe-plugin</artifactId>
    <version>3.3.0</version>
    <configuration>
        <systemPropertyVariables>
            <log4j2.formatMsgNoLookups>true</log4j2.formatMsgNoLookups>
            <log4j2.configurationFile>log4j2.properties</log4j2.configurationFile>
        </systemPropertyVariables>
    </configuration>
    <executions>
        <execution>
            <id>integration-test-abc</id>
            <goals>
                <goal>integration-test</goal>
            </goals>
            <configuration>
                <argLine>-XX:+StartAttachListener ${failsafeArgLine}</argLine>
                <summaryFile>target/failsafe-reports/failsafe-summary-abc.xml</summaryFile>
            </configuration>
        </execution>
        <execution>
            <id>integration-test-verify</id>
            <goals>
                <goal>verify</goal>
            </goals>
            <configuration>
                <summaryFiles>
                    <summaryFile>target/failsafe-reports/failsafe-summary-abc.xml</summaryFile>
                </summaryFiles>
            </configuration>
        </execution>
    </executions>
</plugin>

When I try to update the version from 3.3.0 to 3.4.0 or 3.5.0, and execute mvn clean verify, the verify execution goal on maven-failsafe-plugin suddenly fails because it can’t find the summary file target/failsafe-reports/failsafe-summary-abc.xml. On further investigation, I found that the summary file is not generated by the integration-test execution goal itself.

The only change is the version update. With 3.3.0, the summary file is generated and with 3.4.0 or 3.5.0, the file ceases to be generated.

The first module in my project to fail has no integration tests, but that has always been the case. With 3.3.0, the integration-test goal will still generate the summary file with the result 254 like so –

<?xml version="1.0" encoding="UTF-8"?>
<failsafe-summary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/failsafe-summary.xsd" result="254" timeout="false">
    <completed>0</completed>
    <errors>0</errors>
    <failures>0</failures>
    <skipped>0</skipped>
    <failureMessage xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</failsafe-summary>

indicating that the module not having integration test shouldn’t be the root cause.

Other than that, I tried to see some new parameters introduced by maven-failsafe-plugin:3.4.0 but didn’t find anything that could explain this issue.

I can see the goals executing in the logs:

[INFO] --- failsafe:3.5.0:integration-test (integration-test-abc) @ ABC ---
[INFO] No tests to run.
[INFO] 
[INFO] --- failsafe:3.5.0:verify (integration-test-verify) @ ABC ---
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.5.0:verify (integration-test-verify) on project ABC: /Users/rohan.zaveri/abc/def/xyz/target/failsafe-reports/failsafe-summary-abc.xml (No such file or directory) -> [Help 1]

I was not able to find a similar issue posted by anyone on any online forums. Can anyone help? I am trying to figure out what has changed from maven-failsafe-plugin:3.3.0 to maven-failsafe-plugin:3.4.0 that is causing this failure.

6

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật