[
https://issues.apache.org/jira/browse/KARAF-5890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604776#comment-16604776
]
ASF GitHub Bot commented on KARAF-5890:
---------------------------------------
jbonofre closed pull request #43: [KARAF-5890] Remove requirements in JMS as
Karaf JMS feature doesn't provide it
URL: https://github.com/apache/karaf-decanter/pull/43
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/appender/jms/pom.xml b/appender/jms/pom.xml
index 265cb7c..2bf5766 100644
--- a/appender/jms/pom.xml
+++ b/appender/jms/pom.xml
@@ -53,6 +53,27 @@
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <inherited>true</inherited>
+ <extensions>true</extensions>
+ <configuration>
+ <obrRepository>NONE</obrRepository>
+ <instructions>
+
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+ <Export-Package>!*</Export-Package>
+ <Import-Package>
+ *
+ </Import-Package>
+ <Private-Package>
+ org.apache.karaf.decanter.appender.jms
+ </Private-Package>
+ <_dsannotations>*</_dsannotations>
+
<_dsannotations-options>nocapabilities,norequirements</_dsannotations-options>
+ </instructions>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
diff --git a/collector/jms/pom.xml b/collector/jms/pom.xml
index 8eef80c..892cb1a 100644
--- a/collector/jms/pom.xml
+++ b/collector/jms/pom.xml
@@ -71,6 +71,27 @@
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <inherited>true</inherited>
+ <extensions>true</extensions>
+ <configuration>
+ <obrRepository>NONE</obrRepository>
+ <instructions>
+
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+ <Export-Package>!*</Export-Package>
+ <Import-Package>
+ *
+ </Import-Package>
+ <Private-Package>
+ org.apache.karaf.decanter.collector.jms
+ </Private-Package>
+ <_dsannotations>*</_dsannotations>
+
<_dsannotations-options>nocapabilities,norequirements</_dsannotations-options>
+ </instructions>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Decanter JMS Collector/Appender features has a requirement on
> ConnectionFactory service
> ---------------------------------------------------------------------------------------
>
> Key: KARAF-5890
> URL: https://issues.apache.org/jira/browse/KARAF-5890
> Project: Karaf
> Issue Type: Bug
> Components: decanter
> Affects Versions: decanter-2.0.0
> Reporter: Jean-Baptiste Onofré
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: decanter-2.1.0
>
>
> The {{decanter-collector-jms}} and {{decanter-appender-jms}} features has a
> requirement on {{ConnectionFactory}} service. It works fine when the
> {{ConnectionFactory}} service is defined in a feature providing the
> capability, but it doesn't work "out of the box" using the Karaf {{jms}}
> commands (as the feature doesn't provide the capability).
> I will set the requirement as optional.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)