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

When expression="..." is missing in @parameter, then matching configuration tags is not processed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-beta-1
    • 2.0-beta-2
    • Plugins and Lifecycle
    • None

    Description

      MOJO:

      ------------------------------

      /**

      • @parameter
        */
        private String myParam;

      ------------------------------

      and xml config in pom:

      ------------------------------

      <configuration>
      <myParam>myValue</myParam>
      </configuration>

      doesn't get processed.

      When modified to

      • @parameter expression="${whatever}"

      it will be processed.

      Attachments

        Activity

          People

            brett Brett Porter
            kenney Kenney Westerhof
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified