Eric Norman created SLING-13402:
-----------------------------------

             Summary: exclude duplicate META-INF/INDEX.LIST and 
module-info.class files in the "all" artifact
                 Key: SLING-13402
                 URL: https://issues.apache.org/jira/browse/SLING-13402
             Project: Sling
          Issue Type: Bug
            Reporter: Eric Norman
            Assignee: Eric Norman
             Fix For: Commons Log 6.2.2


During the build the following warning is logged:
{noformat}
[INFO] --- bnd:7.1.0:bnd-process (bnd-process-deps) @ 
org.apache.sling.commons.log ---
[WARNING] [path_redacted]/sling-org-apache-sling-commons-log/pom.xml [0:0]: 
includeresource.duplicates: Duplicate overwritten: META-INF/INDEX.LIST 
(Consider using the onduplicate: directive to handle duplicates.)
[WARNING] [path_redacted]/sling-org-apache-sling-commons-log/pom.xml [0:0]: 
includeresource.duplicates: Duplicate overwritten: module-info.class (Consider 
using the onduplicate: directive to handle duplicates.)
{noformat}
It doesn't seem like either META-INF/INDEX.LIST nor module-info.class make 
sense to include in the output jar file.  What we get currently is last copy of 
the duplicate.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to