jdeprscan:test-jdeprscan

Full name:

org.apache.maven.plugins:maven-jdeprscan-plugin:3.0.0-alpha-1:test-jdeprscan

Description:

Scans test classes with jdeprscan

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 3.0.0.
  • Binds by default to the lifecycle phase: process-test-classes.

Optional Parameters

Name Type Since Description
failOnWarning boolean 3.0.0 Indicates whether the build will continue even if there are jdeprscan warnings.
Default value is: true.
forRemoval boolean 3.0.0 Limits scanning or listing to APIs that are deprecated for removal. Can't be used with a release value of 6, 7, or 8.
User property is: maven.jdeprscan.forremoval.
release String 3.0.0 Specifies the Java SE release that provides the set of deprecated APIs for scanning.

Parameter Details

failOnWarning:

Indicates whether the build will continue even if there are jdeprscan warnings.
  • Type: boolean
  • Since: 3.0.0
  • Required: No
  • Default: true

forRemoval:

Limits scanning or listing to APIs that are deprecated for removal. Can't be used with a release value of 6, 7, or 8.
  • Type: boolean
  • Since: 3.0.0
  • Required: No
  • User Property: maven.jdeprscan.forremoval

release:

Specifies the Java SE release that provides the set of deprecated APIs for scanning.
  • Type: java.lang.String
  • Since: 3.0.0
  • Required: No