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,
On Fri, Jul 23, 2021 at 11:22 PM Jerry James loganjerry@gmail.com wrote:
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?
Please open a bug against jakarta-annotations and I'll look into fixing it.
-- Mikolaj Izdebski
Thanks,
Jerry James http://www.jamezone.org/ _______________________________________________ java-devel mailing list -- java-devel@lists.fedoraproject.org To unsubscribe send an email to java-devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/java-devel@lists.fedoraproject... Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
On Sun, Jul 25, 2021 at 9:50 AM Mikolaj Izdebski mizdebsk@redhat.com wrote:
Please open a bug against jakarta-annotations and I'll look into fixing it.
Thank you, Mikolaj. I have filed https://bugzilla.redhat.com/show_bug.cgi?id=1987912.
java-devel@lists.fedoraproject.org