You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2022/07/27 07:32:00 UTC

[jira] [Assigned] (FELIX-6550) Improve error messages for MojoExecutionException

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

Jean-Baptiste Onofré reassigned FELIX-6550:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> Improve error messages for MojoExecutionException
> -------------------------------------------------
>
>                 Key: FELIX-6550
>                 URL: https://issues.apache.org/jira/browse/FELIX-6550
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-5.1.7
>            Reporter: Konrad Windszus
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> By default Maven does not log any cause for MojoExecutionException. That may lead to the following output:
> {code}
> Error(s) found in manifest configuration (org.apache.felix:maven-bundle-plugin:5.1.7:manifest:scr-metadata:process-classes)
> {code}
> Only with {{-debug}} the cause is also emitted.
> This should be improved by also logging the message of the cause in https://github.com/apache/felix-dev/blob/28b4c77883b8dbdea06e723dc4e5a3eba7393f34/tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java#L132-L167



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