Author: carlos Date: Thu Apr 20 10:17:24 2006 New Revision: 395644 URL: http://svn.apache.org/viewcvs?rev=395644&view=rev Log: Add more docs to forking options
Modified: maven/plugins/trunk/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java Modified: maven/plugins/trunk/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java?rev=395644&r1=395643&r2=395644&view=diff ============================================================================== --- maven/plugins/trunk/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java (original) +++ maven/plugins/trunk/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java Thu Apr 20 10:17:24 2006 @@ -139,6 +139,7 @@ /** * List of System properties to pass to the JUnit tests. + * A property called basedir will be always added with the path of the Maven project folder. * * @parameter */ @@ -176,7 +177,8 @@ private boolean useFile; /** - * Option to specify the forking mode. Can be "none", "once" or "pertest". + * Option to specify the forking mode. Can be "none" (not fork), "once" + * (fork a new JVM for all the tests) or "pertest" (fork a new JVM for each test). * * @parameter expression="${forkMode}" * default-value="none" @@ -184,8 +186,8 @@ private String forkMode; /** - * Option to specify the jvm (or path to the java executable) to use with - * the forking options. For the default we will assume that java is in the path. + * Option to specify the path to the java executable to use when + * forking. For the default we will assume that java is in the path. * * @parameter expression="${jvm}" * default-value="java" @@ -193,21 +195,22 @@ private String jvm; /** - * Arbitrary options to set on the command line. + * Arbitrary options to set on the command line of the new JVM when forking. * * @parameter expression="${argLine}" */ private String argLine; /** - * Additional environments to set on the command line. + * Additional environment variables to set on the new JVM when forking. * * @parameter */ private Map environmentVariables = new HashMap(); /** - * Command line working directory. + * Working directory of the new JVM when forking. If not set Maven will launch the new + * process in the same workingDirectory as the current process. * * @parameter */