You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:15:20 UTC

[sling-maven-launchpad-plugin] 37/49: trivial improvement in error handling

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag maven-launchpad-plugin-2.0.10
in repository https://gitbox.apache.org/repos/asf/sling-maven-launchpad-plugin.git

commit 793fe22ab59eabc87ba8fcc7625373c5c8604618
Author: Justin Edelson <ju...@apache.org>
AuthorDate: Fri Oct 15 00:17:58 2010 +0000

    trivial improvement in error handling
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/maven/maven-launchpad-plugin@1022779 13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/sling/maven/projectsupport/AbstractBundleListMojo.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/org/apache/sling/maven/projectsupport/AbstractBundleListMojo.java b/src/main/java/org/apache/sling/maven/projectsupport/AbstractBundleListMojo.java
index cd66edc..73b31ef 100644
--- a/src/main/java/org/apache/sling/maven/projectsupport/AbstractBundleListMojo.java
+++ b/src/main/java/org/apache/sling/maven/projectsupport/AbstractBundleListMojo.java
@@ -165,6 +165,8 @@ public abstract class AbstractBundleListMojo extends AbstractMojo {
     public final void execute() throws MojoFailureException, MojoExecutionException {
         try {
             initBundleList();
+        } catch (MojoExecutionException e) {
+            throw e;
         } catch (Exception e) {
             throw new MojoExecutionException("Unable to load dependency information from properties file.", e);
         }

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.