Maven does not allow to choose which JVM to be used to run unit tests, even if the underlying junit ant task allows it (jvm attribute).
This is useful if you want to run your tests in a different JVM version than the one used to run maven.
Description
Maven does not allow to choose which JVM to be used to run unit tests, even if the underlying junit ant task allows it (jvm attribute).
This is useful if you want to run your tests in a different JVM version than the one used to run maven.
This patch solves this issue. it adds a maven.junit.jvm properties.
This properties defaults to "java" which is the default value for the junit jvm attribute (according to junit doc).
Eric Berenguier added a comment - 27/Nov/03 05:02 AM This patch solves this issue. it adds a maven.junit.jvm properties.
This properties defaults to "java" which is the default value for the junit jvm attribute (according to junit doc).
This properties defaults to "java" which is the default value for the junit jvm attribute (according to junit doc).