You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2018/09/14 20:41:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16615352#comment-16615352 ] 

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

[~tdaitx]
You have a problem with the compiler.
First I thought that you was talking about regular runtime at user.
Please try again with {{mvn install -P run-its}} and not {{mvn compile}}.

> 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)