jarscan:scan

Full name:

com.github.ferstl:jitwatch-jarscan-maven-plugin:1.1:scan

This plugin goal has been deprecated:

Use the goal maxMethodSize with -Dlimit=325 or your previously chosen freqInlineSize.

Description:

Scans the project's artifact and, if enabled, it's dependencies for large methods using JITWatch's JarScan utility.

Attributes:

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

Optional Parameters

Name Type Since Description
analyzeDependencies boolean 1.0.0 Analyze the dependencies of the project.
Default value is: false.
User property is: analyzeDependencies.
excludes List 1.0.0 List of artifacts to be excluded in the form of groupId:artifactId:type:classifier. Only relevant when analyzeDependencies=true.
User property is: excludes.
freqInlineSize int 1.0.0 The value of the -XX:FreqInlineSize option. The default is 325.
Default value is: 325.
User property is: freqInlineSize.
includes List 1.0.0 List of artifacts to be included in the form of groupId:artifactId:type:classifier. Only relevant when analyzeDependencies=true.
User property is: includes.
packages List 1.1 List of package name prefixes to analyze.
User property is: packages.
reportFile File 1.0.0 The path of the report file. If not set the report is written to the console.
User property is: reportFile.
scope String 1.0.0 The scope of the artifacts that should be included. Only relevant when analyzeDependencies=true.
User property is: scope.

Parameter Details

analyzeDependencies:

Analyze the dependencies of the project.
  • Type: boolean
  • Since: 1.0.0
  • Required: No
  • User Property: analyzeDependencies
  • Default: false

excludes:

List of artifacts to be excluded in the form of groupId:artifactId:type:classifier. Only relevant when analyzeDependencies=true.
  • Type: java.util.List
  • Since: 1.0.0
  • Required: No
  • User Property: excludes

freqInlineSize:

The value of the -XX:FreqInlineSize option. The default is 325.
  • Type: int
  • Since: 1.0.0
  • Required: No
  • User Property: freqInlineSize
  • Default: 325

includes:

List of artifacts to be included in the form of groupId:artifactId:type:classifier. Only relevant when analyzeDependencies=true.
  • Type: java.util.List
  • Since: 1.0.0
  • Required: No
  • User Property: includes

packages:

List of package name prefixes to analyze.
  • Type: java.util.List
  • Since: 1.1
  • Required: No
  • User Property: packages

reportFile:

The path of the report file. If not set the report is written to the console.
  • Type: java.io.File
  • Since: 1.0.0
  • Required: No
  • User Property: reportFile

scope:

The scope of the artifacts that should be included. Only relevant when analyzeDependencies=true.
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No
  • User Property: scope