Uploaded image for project: 'Alias Maven Plugin'
  1. Alias Maven Plugin
  2. ALIASMP-2

Add extension mechanism

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • normal
    • 0.2.0
    • 0.1.4
    • Alias-Mojo
    • Operating System: All
      Platform: All

    Description

      Some alias duplicate an existing alias by extending the command. In order to reduce redundance a simple templating mechanism should be provided.

      The addition to the XML file may look like this:

      <extension>
      <name>aq</name>
      <template>@echo off

      {@cmd} @echo on</template>
      <comment>xyz</comment>
      <apply-to>
      <group>mvn</group>
      <group>project-release</group>
      <alias>r</alias>
      </apply-to>
      </extension>

      The aliases mentioned in the 'apply-to' are applied to the template (the original aliases will still be created). The alias 'r' in the example will be created in addition to the alias 'raq'. The place holder {@cmd}

      will contain the extended command.

      Attachments

        Activity

          People

            anton.kronseder Anton Kronseder
            robert.reiner Robert Reiner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: