Maven 1.x Test Plugin

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
  • Component/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

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: