Maven 1

Maven jelly set tag setValue() should take an Object not a String

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta-1
  • Fix Version/s: 1.1-beta-3
  • Component/s: jelly/ant integration
  • Labels:
    None
  • Number of attachments :
    1

Description

org.apache.maven.jelly.tags.maven.SetTag.setValue() currently takes a String, when it should really take an Object.

Because it takes a string it is impossible to say, pass a List to a plugin (like for example to pass a plugin the results of a rector run).

Simply changing "value" from a String to an Object resolves this problem and makes the <maven:set> and <maven:get> tags 10x more useful.

Activity

Hide
dion gillard added a comment -

Patch to change the value member to an Object.

Show
dion gillard added a comment - Patch to change the value member to an Object.
Hide
Lukas Theussl added a comment -

Patch applied, thanks!

Show
Lukas Theussl added a comment - Patch applied, thanks!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: