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

maven-bundle-plugin resource filtering does not substitute project.organization.*

    XMLWordPrintableJSON

Details

    Description

      We have an XML file in our project's resource directory that contains various Maven properties that are substituted by the maven-bundle-plugin at build time. Most of the properties work (for example, ${pom.name}, ${pom.description}, ${pom.version}) but ${pom.organization.name} and ${pom.organization.url} do not. Changing them to ${project.organization.name} and ${project.organization.url} did not help.

      These properties are a little unusual in that they refer to properties of a nested object within the project model, kind of like how project.build works, so they probably have to be special-cased the same way.

      I notice that when I run mvn with -X, I see this in the BND Instructions:

      [DEBUG] pom.organization: null

      Attachments

        1. FELIX-1439.patch
          3 kB
          Tim Moore

        Activity

          People

            mcculls Stuart McCulloch
            tmoore Tim Moore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: