Maven Changes Plugin
  1. Maven Changes Plugin
  2. MCHANGES-176

Make ConversionTool available in the VelocityContext

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.8
    • Component/s: announcement
    • Labels:
      None

      Description

      It would be very useful to have access to an instance of ConversionTool in the Velocity templace so that one can convert String to List for example.

      See : http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/generic/ConversionTool.html

      In my special case, I want to pass a list of packages as a comma-separated String in the announceParameters as configuration of the changes plugin and convert this comma-separated String as a List in the Velocity template to iterate over to send e-mails containing the packages I deployed in addition to the changes report.

        Activity

          People

          • Assignee:
            Robert Scholte
            Reporter:
            Antonin Stefanutti
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development