Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does usages mean in mvnrepository.com

While searching for maven dependencies on mvnrepository.com, it shows one column with usages. What does it mean? i.e. https://mvnrepository.com/artifact/org.springframework/spring-context when you click on this link it will show you different jars with version number and also it shows you one column called usages. Usages contains some numbers.

like image 441
Tanaji Kolekar Avatar asked Aug 06 '18 09:08

Tanaji Kolekar


People also ask

What is usages in Maven repository?

Maven local repository keeps your project's all dependencies (library jars, plugin jars etc.). When you run a Maven build, then Maven automatically downloads all the dependency jars into the local repository. It helps to avoid references to dependencies stored on remote machine every time a project is build.

What is Mvnrepository com?

mvnrepository.com isn't a repository. It's a search engine. It might or might not tell you what repository it found stuff in if it's not central; since you didn't post an example, I can't help you read the output. Follow this answer to receive notifications.

What does updates mean in Maven dependency?

It tells you whether there's an updated version of a particular dependency available and if so what the latest version is. If there's a check mark it means the library in question already uses the latest version of dependency X.

What are the types of Maven repository?

There are 3 types of maven repository: Local Repository. Central Repository. Remote Repository.


1 Answers

If you click through the 'usages' button you see the projects that are also listed (i.e. in maven central) which have that project as a dependency. If you pick a project from the 'usages' to click into and then click on the most recent version and look at the 'dependencies' section then you find the project that you started from in that list somewhere. At least I suspect it's based on the dependencies of the most recent version but it could be that it's used in a/any version (haven't been able to determine that from my clicking around).

like image 159
Ryan Dawson Avatar answered Nov 18 '22 16:11

Ryan Dawson