[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    Re: I need help with Karaf / Artemis features
From:       Clebert Suconic <clebert.suconic () gmail ! com>
Date:       2021-11-13 20:44:57
Message-ID: CAKF+bsoUGVz1n+ZxvPMhyEA62UdWsV0OMeDx+-EdgefW1=3uwQ () mail ! gmail ! com
[Download RAW message or body]


I appreciate the help.

The idea is to not rely on Javax.json and avoid the clash.

Now We removed it the features is not working.


On Sat, Nov 13, 2021 at 12:16 AM JB Onofré <jb@nanthrax.net> wrote:

> Hi Christoph
>
> I will take a look during the weekend.
>
> I've seen some change /message about json (johnzon etc). It might be
> related.
>
> Regards
> JB
>
> > Le 13 nov. 2021 à 06:02, Christoph Läubrich <mail@laeubi-soft.de> a
> écrit :
> >
> > It seems org.apache.activemq.artemis-server-osgi requires the package
> >
> > org.glassfish.json
> >
> > this was probably provided previously by some of the now excluded
> dependencies.
> >
> >
> >> Am 12.11.21 um 22:11 schrieb Clebert Suconic:
> >> If you don't want to read the whole message: TL;DR: I need help with
> >> this Pull Request:
> >> https://github.com/apache/activemq-artemis/pull/3846
> >> Artemis-features is failing with some lack of json support:
> >> Long form:
> >> To solve a clash between javax and jakarta users, I'm simply now
> >> removing javax.json by shading javax.json and johnzon into
> >> artemis-commons.
> >> I pretty much removed every reference to json from the codebase, and
> >> everything is just using artemis-commons.
> >> However, artemis-features now is not working at all:
> >> if you download the branch above, and do this:
> >> cd artemis-features
> >> mvn install
> >> you will get these errors:
> >> [ERROR] Message: Unable to resolve root: missing requirement [root]
> >> osgi.identity; osgi.identity=artemis-openwire; type=karaf.feature;
> >> version=2.20.0.SNAPSHOT;
> >>
> filter:="(&(osgi.identity=artemis-openwire)(type=karaf.feature)(version>=2.20.0.SNAPSHOT))"
> >> [caused by: Unable to resolve artemis-openwire/2.20.0.SNAPSHOT:
> >> missing requirement [artemis-openwire/2.20.0.SNAPSHOT] osgi.identity;
> >> osgi.identity=artemis-core; type=karaf.feature [caused by: Unable to
> >> resolve artemis-core/2.20.0.SNAPSHOT: missing requirement
> >> [artemis-core/2.20.0.SNAPSHOT] osgi.identity;
> >> osgi.identity=org.apache.activemq.artemis-server-osgi;
> >> type=osgi.bundle; version="[2.20.0.SNAPSHOT,2.20.0.SNAPSHOT]";
> >> resolution:=mandatory [caused by: Unable to resolve
> >> org.apache.activemq.artemis-server-osgi/2.20.0.SNAPSHOT: missing
> >> requirement [org.apache.activemq.artemis-server-osgi/2.20.0.SNAPSHOT]
> >> osgi.wiring.package;
> >> filter:="(osgi.wiring.package=org.glassfish.json)"]]]
> >> [ERROR] Repositories: {
> >> [ERROR]
> file:/Users/clebertsuconic/work/apache/activemq-artemis/artemis-features/target/classes/features.xml
> >> [ERROR] mvn:org.apache.aries.jpa/jpa-features/2.7.3/xml/features
> >> [ERROR] mvn:org.apache.karaf.features/enterprise/4.3.3/xml/features
> >> [ERROR] mvn:org.apache.karaf.features/framework/4.3.3/xml/features
> >> [ERROR] mvn:org.apache.karaf.features/specs/4.3.3/xml/features
> >> that i have no idea how to fix it...
> >> HELP!!!!
>
> --
Clebert Suconic


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic