Configuring JVM Options

If you need to configure specific JVM options for the forked process such as max memory, modify your configuration as follows:

<project>
   ...
   <build>
      <plugins>
         <plugin>
            <groupId>com.centurylogix.maven.plugins</groupId>
            <artifactId>baselinetest-maven-plugin</artifactId>
            <configuration>
               <testProfiles>
                  <testProfile>
                     <contexts>ExampleContext,SampleBaselinTest,    example</contexts>
                     <suites>*</suites>
                     <runMaxMemory>1024m</runMaxMemory>
                     <runVmParams>-ss128k -oss800k</runVmParams>
                  </testProfile>
               </testProfiles>
            </configuration>
            <executions>
               <execution>
                  <goals>
                     <goal>test</goal>
                  </goals>  
               </execution>
            </executions>
         </plugin>
      </plugins>
   </build>
</project>

The supported JVM options are:

  • runInitialMemory
  • runMaxMemory
  • runVmParams
  • validateInitialMemory
  • validateMaxMemory
  • validateVmParams