Bundlor
  1. Bundlor
  2. BNDLR-224

The maven plugin change the version for the Bundle-Version manifest entry in a valid format

    Details

    • Type: Story Story
    • Status: Done Done
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Fix Version/s: Sprint 10, 1.1.0.RELEASE
    • Labels:
      None

      Description

      with the current plugin I can't use the version of the maven bundle for example 1.0-SNAPSHOT, because the manifest allowed no hyphen.

      So when I've the following setup:

      <project>
      <version>1.0-SNAPSHOT</version>
      ...
      <manifestHeaders>
      ...
      Bundle-Version: ${version}
      ...
      </manifestHeaders>
      ...
      </project>

      the plugin should change the format for the manifest to 1.0.0.SNAPSHOT

        Issue Links

          Activity

          Hide
          Ben Hale (c) added a comment -

          Since you can simply set your POM version to something like 1.0.0.BUILD-SNAPSHOT (this is what we do at SpringSource), why would you want Bundlor to make the change instead?

          I'm disinclined to make any changes to the input value a user provides.

          Show
          Ben Hale (c) added a comment - Since you can simply set your POM version to something like 1.0.0.BUILD-SNAPSHOT (this is what we do at SpringSource), why would you want Bundlor to make the change instead? I'm disinclined to make any changes to the input value a user provides.
          Hide
          Pascal Nueesch added a comment - - edited

          the version pattern for maven is following

          <major>.<minor>.<incremental>-<qualifier>

          so there is a "-" (hyphen) within

          but a version with a "-" is not valid for a manifest entry

          Show
          Pascal Nueesch added a comment - - edited the version pattern for maven is following <major>.<minor>.<incremental>-<qualifier> so there is a "-" (hyphen) within but a version with a "-" is not valid for a manifest entry

            People

            • Assignee:
              Unassigned
              Reporter:
              Pascal Nueesch
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                First Response Date: