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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Trivial
    • None
    • 3.6.2.Final
    • api

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            seamlik_jira Kai-Chung Yan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: