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
The following commit(s) were added to refs/heads/master by this push:
new 4f7e2a9 SLING-8870 - The number of errors per jar should be reported
4f7e2a9 is described below
commit 4f7e2a9f4ed97d32a8f55c709815943c25c17aa3
Author: Robert Munteanu <[email protected]>
AuthorDate: Fri Dec 6 18:06:35 2019 +0100
SLING-8870 - The number of errors per jar should be reported
Include the number of the wrong packages in the report.
---
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 5dab4ad..061a223 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
@@ -526,7 +526,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 " + missing.size() + " errors:");
+ getLog().info(apiType + " jar for region " + apiRegion.getName() +
" has " + ( missing.size() + packages.size() ) + " errors:");
for (final ApiExport m : missing) {
getLog().info("- Missing package " + m.getName() + " from
bundle(s) "
+ m.getProperties().get(PROPERTY_BUNDLE));