You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Maarten Mulders (Jira)" <ji...@apache.org> on 2022/08/31 06:39:00 UTC

[jira] [Commented] (MNG-7534) Maven fails without providing any meaningful error message with actionable details

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

Maarten Mulders commented on MNG-7534:
--------------------------------------

I believe this should be logged against the Maven Antrun Plugin (MANTRUN) - but I can't move this issue there.

However, the linked GitHub issue shows more details from the log:

{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (build-haskell) on project haskell-backend: An Ant BuildException has occured: exec returned: 1
[ERROR] around Ant part ...<exec failonerror="true" dir="/disk-samsung/freebsd-ports/lang/k/work/k-5.3.178/haskell-backend/src/main/native/haskell-backend" executable="stack">... @ 5:151 in /disk-samsung/freebsd-ports/lang/k/work/k-5.3.178/haskell-backend/target/antrun/build-main.xml
{code}

In short: Maven invokes an Ant script, which fails around an {{<exec ....>}} statement.

From my limited knowledge of the K project, I would say this is not a bug in Maven or the Maven Antrun Plugin, but more likely to be a problem with the work that's done _from_ that Ant script.

> Maven fails without providing any meaningful error message with actionable details
> ----------------------------------------------------------------------------------
>
>                 Key: MNG-7534
>                 URL: https://issues.apache.org/jira/browse/MNG-7534
>             Project: Maven
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.8.6
>            Reporter: Yuri
>            Priority: Major
>
> Maven fails on the K project with the error message only saying that "exec returned: 1" with no other details about the failure.
>  
> See details [here|https://github.com/runtimeverification/k/issues/2835#issuecomment-1231227100].



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