Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-321

Trailing semicolon makes the project fail to build with Maven Bundle Plugin 3.5

    Details

    • Type: Patch
    • Status: Open (View Workflow)
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.6.2.Final
    • Fix Version/s: None
    • Component/s: api
    • Labels:
      None

      Description

      I tried building the project using Maven Bundle Plugin 3.5.0 and it failed with this error:

      Manifest org.jboss.xnio:xnio-api:jar:3.6.2.Final : Header contains name field after attribute or directive: null from osgi.service;effective:=active;filter:="(objectClass=org.xnio.Xnio)";. Name fields must be consecutive, separated by a ';' like a;b;c;x=3;y=4

      After a quick investigation I found that removing the trailing semicolon at the "Require-Capability" rule solves the problem. I attached the patch here.

      Well, now I wonder why Maven is not pulling the latest version of this plugin...

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                seamlik Kai-Chung Yan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: