ituses-wagon:load-resource

Full name:

org.apache.maven.its.plugins:maven-it-plugin-uses-wagon:2.1-SNAPSHOT:load-resource

Description:

Loads resources from a class loader used to load a wagon provider. The wagon is merely used to access the extension class loader it came from which is otherwise not accessible to a plugin.

Attributes:

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

Optional Parameters

Name Type Since Description
repositoryId String - The repository to load the wagon for, if applicable.
User property is: wagon.repositoryId.
resourcePaths String[] - The 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.
wagonClassLoaderOutput File - The path to the properties file used to track the results of the resource loading via the wagon's class loader.
User property is: wagon.wagonClassLoaderOutput.
wagonProtocol String - The role hint for the wagon provider to load. The class loader of this provider will be used to load the resources.
User property is: wagon.wagonProtocol.

Parameter Details

repositoryId:

The repository to load the wagon for, if applicable.
  • Type: java.lang.String
  • Required: No
  • User Property: wagon.repositoryId

resourcePaths:

The 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

wagonClassLoaderOutput:

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

wagonProtocol:

The role hint for the wagon provider to load. The class loader of this provider will be used to load the resources.
  • Type: java.lang.String
  • Required: No
  • User Property: wagon.wagonProtocol