mavenLoad

Downloads JAR files from Maven, including their dependencies, and loads them into Lucee. Returns an array of the loaded files.

mavenLoad(input [, includeOptional]) → returns array

This function requires Lucee 6.2.0.151 and up.  Not supported on Adobe ColdFusion, etc.

Argument Reference

input any
Required

A struct, or an array of structs, with the Maven groupId, artifactId and version.

includeOptional boolean
Default: false

When true, optional dependencies are loaded too. Lucee 7+.

Examples
Sample code invoking the mavenLoad function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub