[ 
https://jira.codehaus.org/browse/SUREFIRE-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kristian Rosenvold closed SUREFIRE-874.
---------------------------------------

    Resolution: Not A Bug
      Assignee: Kristian Rosenvold

This is the intended behaviour. We cannot pass an argLine to a VM we dont fork
                
> 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
>            Assignee: Kristian Rosenvold
>
> 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

        

Reply via email to