itclass-loader:load

Full name:

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

Description:

Loads classes and/or resources from the plugin class path and records the results in a properties file.

Attributes:

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

Optional Parameters

Name Type Since Description
classNames String - The comma separated set of classes to load. For each specified qualified class name QCN that was successfully loaded, the generated properties files will contain a key named QCN. The value of this key will be the hash code of the requested class. In addition, a key named QCN.methods holds the comma separated list of all public methods declared directly in that class, in alphabetic order and possibly with duplicates to account for overloaded methods.
User property is: clsldr.classNames.
contextClassLoaderOutput File - The path to the properties file used to track the results of the class/resource loading via the thread's context class loader.
User property is: clsldr.contextClassLoaderOutput.
pluginClassLoaderOutput File - The path to the properties file used to track the results of the class/resource loading via the plugin class loader.
User property is: clsldr.pluginClassLoaderOutput.
resourcePaths String - The comma separated set of resources to load. For each specified absolute resource path ARP that was successfully loaded, the generated properties files will contain a key named ARP whose value gives the URL to the resource. In addition, the keys ARP.count, ARP.0, ARP.1 etc. will enumerate all URLs matching the resource name.
User property is: clsldr.resourcePaths.

Parameter Details

classNames:

The comma separated set of classes to load. For each specified qualified class name QCN that was successfully loaded, the generated properties files will contain a key named QCN. The value of this key will be the hash code of the requested class. In addition, a key named QCN.methods holds the comma separated list of all public methods declared directly in that class, in alphabetic order and possibly with duplicates to account for overloaded methods.
  • Type: java.lang.String
  • Required: No
  • User Property: clsldr.classNames

contextClassLoaderOutput:

The path to the properties file used to track the results of the class/resource loading via the thread's context class loader.
  • Type: java.io.File
  • Required: No
  • User Property: clsldr.contextClassLoaderOutput

pluginClassLoaderOutput:

The path to the properties file used to track the results of the class/resource loading via the plugin class loader.
  • Type: java.io.File
  • Required: No
  • User Property: clsldr.pluginClassLoaderOutput

resourcePaths:

The comma separated set of resources to load. For each specified absolute resource path ARP that was successfully loaded, the generated properties files will contain a key named ARP whose value gives the URL to the resource. In addition, the keys ARP.count, ARP.0, ARP.1 etc. will enumerate all URLs matching the resource name.
  • Type: java.lang.String
  • Required: No
  • User Property: clsldr.resourcePaths