简体   繁体   中英

maven-metadata.xml for a group very slow

What are maven-metadata.xml for "groups"? How can we influence whether Maven loads maven-metadata.xml for a group or for a particular repository? And why is loading them for groups so incredibly slow?

/content/groups/public/<groupId-artifactId>/maven-metadata.xml

takes ~22s to load.

/content/repositories/internal-repository-release/<groupId-artifactId>/maven-metadata.xml

takes 32ms.

There was a related bug in Nexus 1.9.2 but we're now on 2.5.1.

Answer I got on the nexus-user mailing list:

" Setting up routing in Nexus properly should help."

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM