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

cziegeler 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 c19c312  SLING-9435 : Take configured javadoc links into account
c19c312 is described below

commit c19c312bd4690c7eafb4b5266666bc7b88b9e83a
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Fri May 8 18:55:26 2020 +0200

    SLING-9435 : Take configured javadoc links into account
---
 src/main/java/org/apache/sling/feature/maven/mojos/ApisJarMojo.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 48eae92..83283dc 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
@@ -503,11 +503,11 @@ public class ApisJarMojo extends 
AbstractIncludingFeatureMojo {
 
         if ( !ctx.getPackagesWithoutJavaClassesMap().isEmpty() ) {
             globalReport.add("The following exported packages do not contain 
any java classes:");
-            ctx.getPackagesWithoutJavaClassesMap().entrySet().forEach(p -> "- 
".concat(p.getKey()).concat(" from ").concat(p.getValue().toMvnId()));
+            ctx.getPackagesWithoutJavaClassesMap().entrySet().forEach(p -> 
globalReport.add("- ".concat(p.getKey()).concat(" from 
").concat(p.getValue().toMvnId())));
         }
         if ( !ctx.getPackagesWithoutSourcesMap().isEmpty() ) {
             globalReport.add("The following exported packages do not have 
sources:");
-            ctx.getPackagesWithoutSourcesMap().entrySet().forEach(p -> "- 
".concat(p.getKey()).concat(" from ").concat(p.getValue().toMvnId()));
+            ctx.getPackagesWithoutSourcesMap().entrySet().forEach(p -> 
globalReport.add("- ".concat(p.getKey()).concat(" from 
").concat(p.getValue().toMvnId())));
         }
 
         // recollect and package stuff per region

Reply via email to