I could use some advice on how to handle the mass rebuild failure of
jakarta-json (
https://koji.fedoraproject.org/koji/taskinfo?taskID=72383615).
The failure looks like this:
[INFO] --- maven-bundle-plugin:5.1.1:bundle (default-bundle) @ jsonp-jaxrs ---
[WARNING] Bundle org.glassfish:jsonp-jaxrs:bundle:1.1.6 : No
translation found for macro: range;[==,+)
[ERROR] Bundle org.glassfish:jsonp-jaxrs:bundle:1.1.6 : Invalid syntax
for version: , for cmd: range, arguments; [range, [==,+)]
[ERROR] Error(s) found in bundle configuration
Running the build with -X shows:
[DEBUG] Final Manifest:
#-----------------------------------------------------------------------
Manifest-Version: 1.0
Bnd-LastModified: 1627075105810
Build-Jdk-Spec: 11
Bundle-Description: Jakarta RESTful Web Services MessageBodyReader and M
essageBodyWriter to support JsonValue API of Jakarta JSON Processing
Bundle-License:
https://projects.eclipse.org/license/epl-2.0,
https://pr
ojects.eclipse.org/license/secondary-gpl-2.0-cp
Bundle-ManifestVersion: 2
Bundle-Name: Jakarta JSON Processing Media for Jakarta RESTful Web Servi
ces
Bundle-SymbolicName: org.glassfish.jsonp-jaxrs
Bundle-Version: 1.1.5
Created-By: Apache Maven Bundle Plugin
Export-Package: org.glassfish.json.jaxrs;uses:="javax.json,javax.ws.rs,j
avax.ws.rs.core,javax.ws.rs.ext";version="1.1.5"
Import-Package:
javax.annotation;version="${range;[==,+)}",
javax.json;version="[1.1,2)",
javax.ws.rs;version="[2.1,3)",
javax.ws.rs.core;version="[2.1,3)",
javax.ws.rs.ext;version="[2.1,3)"
Tool: Bnd-5.2.0
#-----------------------------------------------------------------------
The version of javax.annotation is missing. This is due to the
removal of spec-version-maven-plugin support from the
jakarta-annotation package, isn't it? How do I fix the build failure?
Thanks,
--
Jerry James
http://www.jamezone.org/