You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Kal Cramer (Jira)" <ji...@apache.org> on 2022/06/03 22:25:00 UTC

[jira] [Comment Edited] (ARTEMIS-3852) artemis-core feature does not verify correctly due to jgroups wrap

    [ https://issues.apache.org/jira/browse/ARTEMIS-3852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17547353#comment-17547353 ] 

Kal Cramer edited comment on ARTEMIS-3852 at 6/3/22 10:24 PM:
--------------------------------------------------------------

Thank you for the response!

After farther testing it seems like my issue may be that the version of `karaf-maven-plugin` that I'm using is too old. It did not seem to correctly handle generating different manifest fields for the java classes of jgroups 5.x (due to version of java I'm assuming). I'll close this issue if I'm able to correctly reference features of 2.22.0 after upgrading this dependency.


was (Author: kalcramer):
Thank you for the response!

After farther testing it seems like my issue may be with using a version of the `karaf-maven-plugin` that I'm using being too old. It did not seem to correctly handle generating different manifest fields for the java classes of jgroups 5.x (due to version of java I'm assuming). I'll close this issue if I'm able to correctly reference features of 2.22.0 after upgrading this dependency.

> artemis-core feature does not verify correctly due to jgroups wrap
> ------------------------------------------------------------------
>
>                 Key: ARTEMIS-3852
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3852
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: osgi
>    Affects Versions: 2.22.0
>         Environment: Artemis on Karaf OSGI
>            Reporter: Kal Cramer
>            Priority: Minor
>
> I am trying to upgrade Artemis dependency from 2.20.0 -> 2.22.0
> I get the following error when {{karaf-maven-plugin:verify}} runs when trying to add {{artemis-core}} feature to my {{feature.xml}}:
> {noformat}
> [caused by: Unable to resolve artemis-core/2.22.0: missing requirement [artemis-core/2.22.0] osgi.identity; osgi.identity=org.apache.activemq.artemis-server-osgi; type=osgi.bundle; version="[2.22.0,2.22.0]"; resolution:=mandatory [caused by: Unable to resolve org.apache.activemq.artemis-server-osgi/2.22.0: missing requirement [org.apache.activemq.artemis-server-osgi/2.22.0] osgi.wiring.package; filter:="(osgi.wiring.package=org.jgroups)" [caused by: Unable to resolve wrap_file_..._org_jgroups_jgroups_5.2.0.Final_jgroups-5.2.0.Final.jar/0.0.0: missing requirement [wrap_file_..._org_jgroups_jgroups_5.2.0.Final_jgroups-5.2.0.Final.jar/0.0.0] osgi.ee; filter:="(osgi.ee=UNKNOWN)"]]]]]{noformat}
> I think the issue has to due with the wrap of jgroups.
> I was able to get my {{feature.xml}} working and a full build of Artemis after removing the wrap but I had to add optional tag on the JGroups dependency in the root pom.
> Is there a more correct way to do this or does a change seem necessary? I can put up a PR if this sounds okay.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)