You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2021/05/28 09:58:34 UTC

[sling-parent] branch feature/SLING-8738-generate-error-for-using-private-reference-in-export created (now 025dac4)

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

kwin pushed a change to branch feature/SLING-8738-generate-error-for-using-private-reference-in-export
in repository https://gitbox.apache.org/repos/asf/sling-parent.git.


      at 025dac4  SLING-8738 generate error when bnd finds private reference in exported package

This branch includes the following new commits:

     new 025dac4  SLING-8738 generate error when bnd finds private reference in exported package

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[sling-parent] 01/01: SLING-8738 generate error when bnd finds private reference in exported package

Posted by kw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch feature/SLING-8738-generate-error-for-using-private-reference-in-export
in repository https://gitbox.apache.org/repos/asf/sling-parent.git

commit 025dac4753547907a5a0d691c2bb75aa26ff4ab1
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Fri May 28 11:58:18 2021 +0200

    SLING-8738 generate error when bnd finds private reference in exported
    package
---
 sling-bundle-parent/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sling-bundle-parent/pom.xml b/sling-bundle-parent/pom.xml
index 04e2033..2a6af40 100644
--- a/sling-bundle-parent/pom.xml
+++ b/sling-bundle-parent/pom.xml
@@ -78,6 +78,11 @@ Bundle-Category: sling
 
 # we cannot let bnd-maven-plugin generate it automatically, as Maven applies some inheritance logic which is incorrect for Sling (https://issues.apache.org/jira/browse/SLING-8537)
 Bundle-DocURL: https://sling.apache.org
+
+# generate error (instead of warning) when exported package uses private (non-exported) reference
+-fixupmessages:"Export *,  has \\d+,  private references"; \
+    restrict:=warning; \
+    is:=error
                                 ]]></bnd>
                             </configuration>
                         </execution>