You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by da...@apache.org on 2019/07/26 15:00:51 UTC

[sling-slingfeature-maven-plugin] branch master updated: Fix spelling mistake in error message (datils -> details)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new e229abe  Fix spelling mistake in error message (datils -> details)
e229abe is described below

commit e229abedbbfcd37c77e600bc8adc32837ee6ebba
Author: David Bosschaert <bo...@adobe.com>
AuthorDate: Fri Jul 26 16:00:19 2019 +0100

    Fix spelling mistake in error message (datils -> details)
---
 src/it/analyzer-errors-detected/verify.bsh                              | 2 +-
 .../java/org/apache/sling/feature/maven/mojos/AnalyseFeaturesMojo.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/it/analyzer-errors-detected/verify.bsh b/src/it/analyzer-errors-detected/verify.bsh
index 67a2c25..9c62b8c 100644
--- a/src/it/analyzer-errors-detected/verify.bsh
+++ b/src/it/analyzer-errors-detected/verify.bsh
@@ -24,7 +24,7 @@ import org.codehaus.plexus.util.*;
         File file = new File(basedir, "build.log");
         String log = FileUtils.fileRead(file);
 
-        if (log.indexOf("One or more features analyzer(s) detected feature error(s), please read the plugin log for more datils") < 0) {
+        if (log.indexOf("One or more feature analyzer(s) detected feature error(s), please read the plugin log for more details") < 0) {
             System.out.println( "FAILED!" );
             return false;
         }
diff --git a/src/main/java/org/apache/sling/feature/maven/mojos/AnalyseFeaturesMojo.java b/src/main/java/org/apache/sling/feature/maven/mojos/AnalyseFeaturesMojo.java
index a0f6bb2..2ab0815 100644
--- a/src/main/java/org/apache/sling/feature/maven/mojos/AnalyseFeaturesMojo.java
+++ b/src/main/java/org/apache/sling/feature/maven/mojos/AnalyseFeaturesMojo.java
@@ -161,7 +161,7 @@ public class AnalyseFeaturesMojo extends AbstractIncludingFeatureMojo {
         }
         if (hasErrors) {
             throw new MojoFailureException(
-                    "One or more features analyzer(s) detected feature error(s), please read the plugin log for more datils");
+                    "One or more feature analyzer(s) detected feature error(s), please read the plugin log for more details");
         }
     }