jdeprscan:jdeprscan

Full name:

org.apache.maven.plugins:maven-jdeprscan-plugin:3.0.0:jdeprscan

Description:

Scans main classes with jdeprscan tool

Attributes:

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

Optional Parameters

Name Type Since Description
<failOnWarning> boolean - Indicates whether the build will continue even if there are jdeprscan warnings.
Default: true
<forRemoval> boolean - 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: maven.jdeprscan.forremoval
<release> String - 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
  • 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
  • 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
  • Required: No