This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git
The following commit(s) were added to refs/heads/master by this push:
new 9890bd8596 [FELIX-6550] Add error log when MojoFailureException occurs
9890bd8596 is described below
commit 9890bd8596bacb77b4fffb44f1a6e4a8e59518d0
Author: Jean-Baptiste Onofré <[email protected]>
AuthorDate: Wed Jul 27 09:44:51 2022 +0200
[FELIX-6550] Add error log when MojoFailureException occurs
---
.../src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java
b/tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java
index 729d9769a8..42dd7a16cc 100644
---
a/tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java
+++
b/tools/maven-bundle-plugin/src/main/java/org/apache/felix/bundleplugin/ManifestPlugin.java
@@ -131,6 +131,7 @@ public class ManifestPlugin extends BundlePlugin
}
catch ( IOException e )
{
+ getLog().error( e.getLocalizedMessage() );
throw new MojoExecutionException( "Error trying to generate
Manifest", e );
}
catch ( MojoFailureException e )