You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2018/01/03 11:04:37 UTC

[sling-slingstart-maven-plugin] branch master updated: SLING-7318 use newer surefire to not loose information about nested exceptions

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

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-slingstart-maven-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new da99b1b  SLING-7318 use newer surefire to not loose information about nested exceptions
da99b1b is described below

commit da99b1bb349872b1f83ceb3633f333df7e3a146f
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Wed Jan 3 12:04:33 2018 +0100

    SLING-7318 use newer surefire to not loose information about nested
    exceptions
---
 pom.xml                                                              | 5 +++++
 .../java/org/apache/sling/maven/slingstart/PreparePackageMojo.java   | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 8150f56..58aae87 100644
--- a/pom.xml
+++ b/pom.xml
@@ -128,6 +128,11 @@
                 </configuration>
             </plugin>
             <plugin>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <!-- for https://issues.apache.org/jira/browse/SUREFIRE-1067 -->
+                <version>2.20.1</version>
+            </plugin>
+            <plugin>
                 <artifactId>maven-failsafe-plugin</artifactId>
                 <!-- for https://issues.apache.org/jira/browse/SUREFIRE-855 -->
                 <version>2.20.1</version>
diff --git a/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java b/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java
index 0caf0d9..e73f611 100644
--- a/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java
+++ b/src/main/java/org/apache/sling/maven/slingstart/PreparePackageMojo.java
@@ -392,7 +392,7 @@ public class PreparePackageMojo extends AbstractSlingStartMojo {
                 startLevelHolder.set(sl);
             addReadme(os);
         } catch (IOException ioe) {
-            throw new MojoExecutionException("Problem creating subsystem .esa file " + subsystemFile + " due to " + ioe.getMessage(), ioe);
+            throw new MojoExecutionException("Problem creating subsystem .esa file " + subsystemFile, ioe);
         }
         return subsystemFile;
     }

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