Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-196

rename expression parameter to property

    XMLWordPrintableJSON

Details

    Description

      the actual name isn't intuitive at all.
      It would be more intuitive if we replaced

      /**
       * @parameter default-value="a default value" expression="a property"
       */
       String first;
      
       @Parameter( defaultValue = "a default value", expression = "a property" )
       String second;

      with

      /**
       * @parameter default-value="a default value" property="a property"
       */
       String first;
      
       @Parameter( defaultValue = "a default value", property = "a property" )
       String second;

      The move could be done in a compatible way, deprecating the previous expression javadoc tag.
      And ${ } would be forbidden for property, where it was required previously for expression and made optional since MPLUGIN-194

      Attachments

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              hboutemy Herve Boutemy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: