Message: The following issue has been closed.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MPTEST-31 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPTEST-31 Summary: Incorrect processing of JVM parameters in test:match Type: Bug Status: Closed Priority: Major Resolution: FIXED Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-test-plugin Assignee: Brett Porter Reporter: Frederic Gedin Created: Wed, 12 May 2004 4:48 AM Updated: Mon, 7 Jun 2004 8:23 AM Environment: Linux Description: I put some asserts inside my code and gave the following options in the project.properties file: maven.junit.fork=true maven.junit.jvmargs=-ea When running "maven -X test", I clearly see that the JVM is invoked with the "-ea" option. However when I invoke "maven -X -D testmach="TestSingle" test:match", the JVM is invoked without the "-ea" options my asserts do not generate any exception. Digging a little bit into the plugin code, I realized that jvm args are not processed the same way in both cases: goals test:test and test:single <u:tokenize var="listOfJvmArgs" delim=" ">${maven.junit.jvmargs}</u:tokenize> <j:forEach var="somejvmarg" items="${listOfJvmArgs}"> <jvmarg value="${somejvmarg}"/> </j:forEach> goal test:match <maven:pluginVar var="jvmargs" plugin="maven-test-plugin" property="maven.junit.jvmargs" /> <j:if test="${!empty(jvmArgs)}"> <jvmarg line="${jvmargs}"/> </j:if> --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]