You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/07/18 12:14:00 UTC

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

Konrad Windszus created FELIX-6550:
--------------------------------------

             Summary: 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


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)