Maven 1.x Test Plugin
  1. Maven 1.x Test Plugin
  2. MPTEST-27

should be able to set <env> tags for junit tasks

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      linux
    • Number of attachments :
      1

      Description

      This was originally a way to set LD_LIBRARY_PATH. I've created a patch for maven-test-plugin's plugin.jelly so that you can specify maven.junit.envvars.

      It works like maven.junit.sysproperties, so you give it sub-properties. ie

      maven.junit.envvars=LD_LIBRARY_PATH
      LD_LIBRARY_PATH=/my/library/path

        Activity

        Hide
        joseph benavidez added a comment -

        patch to set env tag within junit tasks

        Show
        joseph benavidez added a comment - patch to set env tag within junit tasks
        Hide
        joseph benavidez added a comment -

        the attached patch is against rc1

        Show
        joseph benavidez added a comment - the attached patch is against rc1
        Hide
        Brett Porter added a comment -

        applied. Thanks

        Show
        Brett Porter added a comment - applied. Thanks

          People

          • Assignee:
            Brett Porter
            Reporter:
            joseph benavidez
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: