Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-543

add switch to prevent classifier being appended to Bundle-Version

    XMLWordPrintableJSON

Details

    Description

      I have a use-case for using classifier to create multiple bundles with different symbolic names but the same Bundle-Version.

      This is not currently possible, as the maven-bundle-plugin automatically appends the classifier to the Bundle-Version.

      Could some switch be added, to disable the appending of classifier to Bundle-Version?

      Thanks,

      Derek

      stuart.mcculloch wrote:

      the use-case for adding this feature was for people who
      wanted to produce JDK5 and JDK1.4 versions of the same bundle, so
      because the symbolic name would be the same, the classifier must then
      be added to the version to distinguish them.

      it is the intended behaviour for the above use-case, but we could add a switch
      to turn it off - it's difficult to detect whether the classifier should be added to the
      version automatically, because each bundling process is run in isolation

      there's also no way to distinguish where the bundle version came from in Maven
      (ie. general config or specific to the classifier) once it reaches the bundleplugin,
      so a new switch is the only safe way to detect the different use-case...

      Attachments

        Activity

          People

            mcculls Stuart McCulloch
            db82407 Derek Baum
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: