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

Upper-case environment variables end up in final manifest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • maven-bundle-plugin-2.3.5, maven-bundle-plugin-2.3.6
    • maven-bundle-plugin-2.3.7
    • Maven Bundle Plugin
    • None

    Description

      On 10 Feb 2012, at 08:01, Tuomas Kiviaho wrote:
      I'm having the exact same problem. Any news what might cause this. I upgraded
      the bundle plugin from 2.0.1 to 2.3.6 and this started to appear.

      See this thread http://www.mail-archive.com/users@felix.apache.org/msg11754.html for more discussion.

      I tracked the cause down to https://issues.apache.org/jira/browse/FELIX-2449 which added the Maven session execution properties to the properties passed to bnd.
      This change was needed so people could use command-line properties in bnd macros, otherwise you could get inconsistent results between Maven and bnd filtering.

      Perhaps we should simply avoid adding any Maven session execution properties that start with an upper-case letter (bnd automatically copies these to the manifest).

      Reminder: you can tell bnd to avoid copying entries to the manifest by listing the headers in the <_removeheaders> instruction.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: