Maven provides following two types of Plugins:
Build plugins: They execute during the build and should be configured in the element of pom.xml
Reporting plugins: They execute during the site generation and they should be configured in the element of the pom.xml