Ivy can be configured to read this file when resolving dependencies (see the "m2compatible" ibilio resolver attribute), but the publish task does not create or update this file .....
Apparently this is the clientโs job to create and update the maven-metadata.xml file .... This is an undocumented function of the Maven repositories. (If someone can find where this is described, maybe the ivy bug can be fixed).
The standard working procedure is to periodically schedule a Nexus task to recover metadata files. Cm:
A more extreme solution is to use the Maven ANT task to complete the publishing phase ....
Comment on snapshot changes
Recently, I have come to the conclusion that snapshot releases are not worth the effort. Continuous delivery contributes to the concept that each assembly can potentially be released, and plush has an excellent buildnumber task that ensures that each assembly is unique. I find my build process easier when there is only one type of build.
Snapshots are a feature that is only required when sharing development artifacts with other projects using Maven. The IMHO dynamic revision functions ivy are more powerful because they allow the "last" revision during build. See how the deliver task combines with makepom in the following examples:
source share