You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2022/08/26 11:07:16 UTC

[uima-uimaj] 01/01: Issue #225: Improve deployment in OSGi environments

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

rec pushed a commit to branch feature/225-Improve-deployment-in-OSGi-environments
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git

commit 1c1b3bc66a27795b3bd438db49e590f3e5699b1b
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Fri Aug 26 12:43:52 2022 +0200

    Issue #225: Improve deployment in OSGi environments
    
    - SPI resolution should be optional
---
 uimaj-core/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/uimaj-core/pom.xml b/uimaj-core/pom.xml
index 8286b5594..29e43753b 100644
--- a/uimaj-core/pom.xml
+++ b/uimaj-core/pom.xml
@@ -279,8 +279,8 @@
               org.apache.uima.*
             </Export-Package>
             <Require-Capability>
-              osgi.extender;filter:="(osgi.extender=osgi.serviceloader.processor)",
-              osgi.serviceloader;filter:="(osgi.serviceloader=org.apache.uima.spi.JCasClassProvider)";cardinality:=multiple
+              osgi.extender;filter:="(osgi.extender=osgi.serviceloader.processor)";resolution:=optional,
+              osgi.serviceloader;filter:="(osgi.serviceloader=org.apache.uima.spi.JCasClassProvider)";cardinality:=multiple;resolution:=optional
             </Require-Capability>
           </instructions>
         </configuration>