XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.2-beta-1
    • 2.2-beta-2
    • None
    • None
    • Maven 2.0.4

    Description

      For the moment Maven 2.x Assembly Plugin support only maven token (${token})
      But I need to share some properties file with ant and maven.
      So It would be nice to also add Ant token support (@token@)

      For the version 2.1, I can give a patch

      The version 2.2-SNAPSHOT seems to be all refactoring and I don't have a patch for the moment.
      I think we have to look at the method private String filter( String rawContents ) of the org.apache.maven.plugin.assembly.format.FileFormatter class. But I don't know how the RegexBasedInterpolator class works.

      Thanks

      Attachments

        1. ant-token-fix.diff
          14 kB
          John Franey

        Activity

          People

            jdcasey John Dennis Casey
            sanlavre Sanlaville Rémy
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: