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 20:19:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Kal Cramer updated ARTEMIS-3852:
--------------------------------
    Description: 
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:

[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)"]]]]]

 

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.

 

  was:
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:

[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)"]]]]]

 

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.

 

        Summary: artemis-core feature does not verify correctly due to jgroups wrap  (was: artemis-core feature does not verify correctly due to jgroups upgrade)

> 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:
> [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)"]]]]]
>  
> 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)