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

cstamas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git


The following commit(s) were added to refs/heads/master by this push:
     new 19a3c52c Tame bnd plugin warnings (#525)
19a3c52c is described below

commit 19a3c52c905dbb9686948e6f8ce73db404defdd8
Author: Tamas Cservenak <[email protected]>
AuthorDate: Mon Jul 1 23:58:36 2024 +0200

    Tame bnd plugin warnings (#525)
    
    To keep things simple, we config the plugin in
    one place, but in some modules this config emits
    warnings. This change just makes it go away.
    
    No other source or any alike change, no issue either.
    
    ---------
    
    Co-authored-by: Guillaume Nodet <[email protected]>
---
 pom.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pom.xml b/pom.xml
index cdc69434..8e24f463 100644
--- a/pom.xml
+++ b/pom.xml
@@ -624,6 +624,10 @@
               # Reproducible build
               -noextraheaders: true
               ${bnd.instructions.additions}
+              # Remove warnings (as we keep things simple)
+              -fixupmessages: \
+                'Unused Import-Package instructions';is:=ignore, \
+                'Unused Export-Package instructions';is:=ignore
             ]]></bnd>
           </configuration>
         </plugin>

Reply via email to