MavenInfo()
Retrieves information about a Maven artifact and its dependencies.
This function allows you to query details about a specific Maven artifact by providing its coordinates (groupId, artifactId, and optionally version).
It returns a query containing information about the artifact itself and all of its dependencies based on the specified scope.
The returned query includes columns for:
- groupId: The group identifier of the artifact
- artifactId: The artifact identifier
- version: The version of the artifact
- scope: The scope of the dependency (compile, provided, runtime, test, system)
- optional: Whether the dependency is optional
- checksum: Checksum information
- url: URL where the artifact can be found
- path: Local file path to the artifact
This function is useful for debugging classloading issues, understanding dependency trees, or gathering information about the libraries your application depends on.
Introduced: 7.0.0.136
MavenInfo( groupId=string, artifactId=string, version=string, scopes=array, includeOptional=boolean, validateURL=boolean );
Returns: Query
Examples
There are currently no examples for this function 17,566ms WARN No examples for function maveninfoSee also
- Java
- Server
- MavenLoad()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)