You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/05/29 18:45:00 UTC

[jira] [Closed] (SUREFIRE-1558) IOException not caught/declared in StatelessXmlReporter.java after maven-shared-utils update

     [ https://issues.apache.org/jira/browse/SUREFIRE-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed SUREFIRE-1558.
------------------------------------
    Resolution: Not A Problem

We are at 3.3.4 now, I don't consider it as a problem anymore.

> IOException not caught/declared in StatelessXmlReporter.java after maven-shared-utils update
> --------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1558
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1558
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.21.0, 2.22.0
>         Environment: debian testing and unstable, ubuntu cosmic
>            Reporter: Tiago Stürmer Daitx
>            Priority: Major
>         Attachments: surefire_2.21.0-1.rbuild.log
>
>
> maven-surefire-common fails to build with the following error message:
> {{maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java:[482,28] error: unreported exception IOException; must be caught or declared to be thrown
> }}
> This seems to be caused by maven-shared-utils update from 3.1 to 3.2, in particular by the fix of [maven-shared-util's MSHARED-610|https://issues.apache.org/jira/browse/MSHARED-610].
> More details and [full build logs are available in Debian|https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/surefire_2.21.0-1.rbuild.log.gz] and [Ubuntu|https://launchpadlibrarian.net/385098232/buildlog_ubuntu-cosmic-amd64.surefire_2.21.0-1_BUILDING.txt.gz]. The reproducible builds bot in Debian also [opened a bug report|https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906411] in case you want to add something there or ask additional questions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)