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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SUREFIRE-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16615360#comment-16615360 ]

Tibor Digana commented on SUREFIRE-1558:
----------------------------------------

Why we do not have compilation pproblem and you have with JDK:
[WARNING] Unable to autodetect 'javac' path, using 'javac' from the environment.

> 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
(v7.6.3#76005)