Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


Overridden argLine

By default the SeaLights Maven plugin sets the argLine used by Surefire to include the SealIghts test listener as a javaagent. If the Surefire argLine is overridden, then the SeaLights argLine will not be used and hence test information will not be captured.

For this, the SeaLights Maven plugin also generates a property called sealightsArgLine, which can be placed in the Surefire argLine for easy configuration.

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

<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>
    ...
  • No labels