Versions Compared

Key

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

...

Code Block
languagexml
linenumberstrue
<configuration>
</configuration>
  <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-failsafe-plugin</artifactId>
    <version>${maven.failsafe.plugin.version}</version>
    <configuration>
	  <argLine>${argLine} $@{sealightsArgLine} -Dsl.testStage="Integration Tests"</argLine>
      <includes>
        <include>**/IT/**/*Test*</include>
      </includes>
    </configuration>
    <executions>
      <execution>
        <goals>
          <goal>integration-test</goal>
          <goal>verify</goal>
        </goals>
      </execution>
    </executions>
  </plugin>

You can set an empty property called sealightsArgLine so that the build will not fail when the SeaLights maven plugin doesn't run

Code Block
languagexml
linenumberstrue
<properties>
  ...
  <sealightsArgLine></sealightsArgLine>
</properties>


Note: As the integration tests usually run against a server, you also need to set it up with the SeaLights test listener as a javaagent

...