mavenInfo

Returns a query describing a Maven artifact and its dependencies.

mavenInfo(groupId, artifactId, version [, scopes] [, includeOptional] [, validateURL]) → returns query

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

Argument Reference

groupId string
Required

The Maven group ID.

artifactId string
Required

The Maven artifact ID.

version string
Required

The artifact version.

scopes array

The dependency scopes to include. Defaults to all scopes except test.

includeOptional boolean
Default: true

When true, includes optional dependencies.

validateURL boolean
Default: false

When true, checks every repository for the artifact instead of choosing the most likely one. This can be slow.

Examples
Sample code invoking the mavenInfo function

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

Fork me on GitHub