Consider I'm a Maven plugin and I'd like to read Maven Repository Metadata (maven-metadata.xml
) for certain group or artifact from a remote repository (Nexus in this case).
Is there a built-in Maven functionality available to a plugin to retrieve this piece of information?
My use case is the following: I've got a list of artifacts in a proprietary file format. Each of these artifacts might have an according configuration artifact stored in Nexus but not listed in the file. Also, not all artifacts have a version applied. Now I'd like to create a standard BOM and I'd like to leverage information available in maven-metadata.xml
.