Maven provides the following two types of Plugins -
Build plugins -They come into picture during the build and should be configured in the <build/> element of pom.xml
Reporting plugins -They get executed during the site generation and they should be configured in the <reporting/> element of the pom.xml