Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
printablefalse

...

For this, the SeaLights Maven plugin also generates a property called sealightsArgLine, which can be placed in the Surefire argLine for easy configuration.
Note: Using of @{sealightsArgLine} demands minimum surefire-plugin version 2.17

Here is a sample configuration for Surefire with the updated argLine at line 8:

Code Block
languagexml
linenumberstrue
<configuration> </configuration>
  <plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-surefire-plugin</artifactId>
	<version>${surefire-plugin.version}</version>
	<configuration>
      <argLine>-Xms512m -Xmx1024m ${argLine} @{sealightsArgLine}</argLine>
	</configuration>
    ...

...