Search code examples
javamavennexus

Detailed (download) statistics for artifacts of public repositories like maven.org


In former days project hosting sites like sourceforge.org provided detailled (download) statistics for every project. This was helpful to me as a user for finding projects that are more popular (and therefore more "secure" and futureproof). But I think this was also important for the developers of those projects.

I am new to Maven and have not found any comparable statistics, only the "Quick Stats" on Maven Central.

Does the Maven concept (and Nexus) provide detailed statistics: how much a specific artifact has been downloaded as a specific type (like jar, pom etc?). If yes, where can I find this (for example for Hibernate)?


Solution

  • If you publish artifacts with OSS Sonatype (central Maven repo) there are download statistics available for the artifacts you publish from your account.

    Note that it usually updates a few days after each month.

    1. Go to https://oss.sonatype.org
    2. Login with the account you publish artifacts with.
    3. Click "Central Statistics".

    Reference: Here's a blog post describing how to access the feature.