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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment