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!!!!