Manohar Akula created SUREFIRE-874:
--------------------------------------
Summary: argLine is not passed when forkMode is set to never
Key: SUREFIRE-874
URL: https://jira.codehaus.org/browse/SUREFIRE-874
Project: Maven Surefire
Issue Type: Bug
Components: process forking
Affects Versions: 2.12
Environment: mvn 3.0.3, jdk 1.7.0_04, osx 10.7.3, arch x86_64
Reporter: Manohar Akula
argLine is not used when forkMode is set to never. It gets passed fine if
forkMode is either once or always.
Within AbstractSurefireMojo.java, inside getForkConfiguration() there are a
bunch of properties being set inside the condition 'if (fork.isForking())'. So
argLine is not set on the ForkConfiguration when isForking() returns false.
Suspect this is the culprit. Not sure if other properties are also similarly
affected.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira