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 2019/12/02 13:21:33 UTC

[sling-slingfeature-maven-plugin] 02/02: SLING-8870 - The number of errors per jar should be reported

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

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

commit c582c902b0ba0cf3729efefbcf372a66b435e75d
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Mon Dec 2 14:21:08 2019 +0100

    SLING-8870 - The number of errors per jar should be reported
---
 src/main/java/org/apache/sling/feature/maven/mojos/ApisJarMojo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/feature/maven/mojos/ApisJarMojo.java b/src/main/java/org/apache/sling/feature/maven/mojos/ApisJarMojo.java
index e5aa5a1..928e297 100644
--- a/src/main/java/org/apache/sling/feature/maven/mojos/ApisJarMojo.java
+++ b/src/main/java/org/apache/sling/feature/maven/mojos/ApisJarMojo.java
@@ -468,7 +468,7 @@ public class ApisJarMojo extends AbstractIncludingFeatureMojo implements Artifac
             getLog().info("Verified " + apiType + " jar for region " + apiRegion.getName());
         } else {
             Collections.sort(missing);
-            getLog().info(apiType + " jar for region " + apiRegion.getName() + " has errors:");
+            getLog().info(apiType + " jar for region " + apiRegion.getName() + " has " + missing.size() + " errors:");
             for (final ApiExport m : missing) {
                 getLog().info("- Missing package " + m.getName() + " from bundle(s) "
                         + m.getProperties().get(PROPERTY_BUNDLE));