maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <>
Subject [jira] [Assigned] (SUREFIRE-1035) Use the same settings as the maven JVM when forking a JVM
Date Sat, 10 Oct 2015 23:19:05 GMT


Tibor Digana reassigned SUREFIRE-1035:

    Assignee: Tibor Digana

> Use the same settings as the maven JVM when forking a JVM
> ---------------------------------------------------------
>                 Key: SUREFIRE-1035
>                 URL:
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Surefire Plugin, process forking
>    Affects Versions: 2.16
>            Reporter: Jifeng Zhang
>            Assignee: Tibor Digana
> When forking a JVM, JVM settings are not inherited from MAVEN_OPTS. And by default, the
forked JVM is a new instance of the same JVM used to start Maven.
> Were there strong reasons for not using the same JVM settings as the "parental" JVM,
but using argLine explicitly?
> I think for the users that are not aware of JVM forking, they would expect the same JVM
settings are used when running surefire plugin. Just like we assumed it is the same JVM (new
instance) forked as the one Maven runs on, which was not true until version 2.3, and was fixed
in [SUREFIRE-135|]
> So I propose when forking a JVM, the same settings from JVM that maven runs on, is used;
unless there is an argLine explicitly overwrites the settings.

This message was sent by Atlassian JIRA

View raw message