Fork me on GitHub

gplus:removeTestStubs

Full name:

org.codehaus.gmavenplus:gmavenplus-plugin:4.0.1:removeTestStubs

Description:

This mojo removes Groovy test stubs from the project's sources.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 1.0-beta-3.
  • Binds by default to the lifecycle phase: test-compile.

Optional Parameters

Name Type Since Description
<skipTests> boolean - Flag to allow adding test sources to be skipped.
Default: false
User Property: maven.test.skip
<testStubsOutputDirectory> File - The location for the compiled test classes.
Default: ${project.build.directory}/generated-sources/groovy-stubs/test

Parameter Details

<skipTests>

Flag to allow adding test sources to be skipped.
  • Type: boolean
  • Required: No
  • User Property: maven.test.skip
  • Default: false

<testStubsOutputDirectory>

The location for the compiled test classes.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/generated-sources/groovy-stubs/test