mavenexport()
Walks Lucee's local maven cache directory and returns a pom.xml string listing every cached artifact as a `
` entry.
The emitted pom uses a synthetic self-identifier (`com.example.lucee:mvn-cache-export:0`) with `pom` - it is a manifest of what is cached, not a buildable project.
Scope is not recorded on disk so no `` is emitted; classifier is derived from the jar filename when present (e.g. native libraries like `sqlite-jdbc-3.47.0.0-linux-x86_64.jar` are exported with `linux-x86_64`).
Pairs with `mavenImport` to snapshot and restore a cache state. Use `fileWrite( path, mavenExport() )` to persist the output.
Example
mavenexport():string
Category
maven,classloading,dependencies,jars
Arguments
This function has no arguments