Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make Maven list all plugins used?

Tags:

plugins

maven

How do I make Maven generate a list of all of the plugins that it recognizes?

like image 562
Sujen Avatar asked Aug 25 '11 20:08

Sujen


People also ask

Where Maven plugins are stored?

By default, it is located within the user's home directory (~/. m2/repository) but the location can be configured in ~/. m2/settings. xml using the <localRepository> element.

How many Maven plugins are there?

In Maven, there are two kinds of plugins, build and reporting: Build plugins are executed during the build and configured in the <build/> element. Reporting plugins are executed during the site generation and configured in the <reporting/> element.

Which Maven command is to list all dependencies of a project hierarchically?

In Maven, you can use mvn dependency:tree to display the project dependencies in tree format.


1 Answers

"Recognizes" or "uses"? You can see all the plugins configured in a particular project using mvn help:effective-pom. A global list of all available maven plugins would probably be impossible to accurately compile. There are lists of a couple of major clusters of plugins at the maven site and at codehaus, but maven plugins can come from anywhere.

like image 55
Ryan Stewart Avatar answered Sep 18 '22 23:09

Ryan Stewart