johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raymond Auge <raymond.a...@liferay.com>
Subject JSON-P & JSON-B jaxrs support mutually exclusive
Date Fri, 22 Jun 2018 13:21:32 GMT
Hello all,

I've found a small issue when trying to assemble a system from Johnzon's
JAXRS providers.

If you look at the package imports for johnzon-jaxrs:

  javax.ws.rs                            {version=[2.0,3)}
  javax.ws.rs.core                       {version=[2.0,3)}
  javax.ws.rs.ext                        {version=[2.0,3)}

and those from johnzon-jsonb:

  javax.ws.rs                            {version=[1.1,2),
resolution:=optional}
  javax.ws.rs.core                       {version=[1.1,2),
resolution:=optional}
  javax.ws.rs.ext                        {version=[1.1,2),
resolution:=optional}

You'll notice that they have mutually exclusive version ranges, which means
they will never work together properly in the same OSGi runtime (at least
not in a _hack-free_ runtime.)

So, will anyone mind if when the geronimo specs release with proper
Portable Java Contracts (shortly hopefully) that I send a PR to apply these
to johnzon?

I've created an issue for it
https://issues.apache.org/jira/browse/JOHNZON-174

Sincerely,
-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message