You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/11/18 12:37:49 UTC

[brooklyn-dist] 03/03: don't expose javax.annotations from felix/jre

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

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-dist.git

commit 1fd3aae2d37f13483d76d73197d5a370bafa53cf
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Thu Nov 18 12:32:10 2021 +0000

    don't expose javax.annotations from felix/jre
    
    not needed, so reduces wiring overhead
---
 karaf/features/src/main/resources/resources/etc/custom.properties | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/karaf/features/src/main/resources/resources/etc/custom.properties b/karaf/features/src/main/resources/resources/etc/custom.properties
index e5aca93..be50ce2 100644
--- a/karaf/features/src/main/resources/resources/etc/custom.properties
+++ b/karaf/features/src/main/resources/resources/etc/custom.properties
@@ -25,6 +25,8 @@
 # Brooklyn used to bundle Apache Felix, so force felix
 karaf.framework=felix
 
+# javax.annotation -- excluded, so we use jakarta (but processing sub-package is still needed)
+
 # javax.xml.bind -- could come from jakarta.xml.bind-api
 # javax.xml.ws -- could come from servicemix jaxws
 # javax.activation -- could be declared, if using jakarta's bind
@@ -33,7 +35,6 @@ karaf.framework=felix
 jre-1.8= \
  javax.accessibility, \
  javax.activity, \
- javax.annotation;version="1.0", \
  javax.annotation.processing;version="1.0", \
  javax.crypto, \
  javax.crypto.interfaces, \