Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3807

Maven is not interpolatin Properties at plugin configuration

    XMLWordPrintableJSON

Details

    Description

      My plugin has a configuration like this:

       
          /**
           * My Properties.
           *
           * @parameter
           */
          private Properties myProperties;
      

      When I configure like this:

       
      <myProperties>
        <property>
          <name>propertyName1</name>
          <value>${buildnumber}</value> <!-- property injected on maven properties by  http://mojo.codehaus.org/buildnumber-maven-plugin/ -->
        <property>
      </myProperties>
      

      Maven doesn't interpolate the buildnumber. But the value is available at project.getProperties().

      Attachments

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              velo velo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: