itclass-loader:instanceof

Full name:

org.apache.maven.its.plugins:maven-it-plugin-class-loader:2.1-SNAPSHOT:instanceof

Description:

Checks whether objects obtained from the Maven core are assignment-compatible with types loaded from the plugin class loader. In other words, checks that types shared with the core realm are imported into the plugin realm.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: initialize.

Optional Parameters

Name Type Since Description
className String - The qualified name of the type to which the objects should be assignment-compatible. This type will be loaded from the plugin class loader, just like as if it was imported in the plugin source code.
User property is: clsldr.className.
instanceofPropertiesFile File - The path to the properties file used to track the results of the instanceof tests.
User property is: clsldr.instanceofPropertiesFile.
objectExpressions String[] - A list of expressions that denote the object instances that should be type-checked.

Parameter Details

className:

The qualified name of the type to which the objects should be assignment-compatible. This type will be loaded from the plugin class loader, just like as if it was imported in the plugin source code.
  • Type: java.lang.String
  • Required: No
  • User Property: clsldr.className

instanceofPropertiesFile:

The path to the properties file used to track the results of the instanceof tests.
  • Type: java.io.File
  • Required: No
  • User Property: clsldr.instanceofPropertiesFile

objectExpressions:

A list of expressions that denote the object instances that should be type-checked.
  • Type: java.lang.String[]
  • Required: No