Found within a specific snapshot version directory, it contains the exact timestamps for the most recent builds, allowing Maven to resolve LATEST or 1.0-SNAPSHOT to a concrete file. Why Does Maven Download This File?
Found at the artifact level (e.g., /groupId/artifactId/maven-metadata.xml ), it lists all available versions of that artifact. download maven-metadata.xml
If you are using a repository manager like Sonatype Nexus or JFrog Artifactory, a slow remote repository "upstream" can cause the local proxy to hang while waiting for the metadata. Found within a specific snapshot version directory, it
It is common for developers to encounter situations where a build gets stuck on "Download maven-metadata.xml" for several minutes. Maven will ignore local copies.
Check your settings.xml or pom.xml . If the is set to always , Maven will ignore local copies.