[prev in list] [next in list] [prev in thread] [next in thread] 

List:       maven-user
Subject:    Why does <reporting> exist?
From:       James Green <james.mk.green () gmail ! com>
Date:       2014-10-29 11:28:41
Message-ID: CAMH6+axLgZdwBKdhirt1-CmatZpGjkCPv7zk_LFQ0g0_u9nWrw () mail ! gmail ! com
[Download RAW message or body]


According to:

*
http://maven.apache.org/plugins/maven-site-plugin/examples/configuring-reports.html
* http://maven.apache.org/plugins/maven-checkstyle-plugin/usage.html
* http://mojo.codehaus.org/findbugs-maven-plugin/usage.html
* http://maven.apache.org/plugins/maven-pmd-plugin/usage.html

and possibly others, I need to add reporting plugins to the <reporting>
element of my POM.

When I do this and run mvn clean site, I see a lovely web site but none of
the reports.

If I instead take the plugins from the <reporting> and put them as plugins
of the maven-site-plugin, they all burst to life. Indeed, I can remove the
<reporting> element and nothing is apparently lost.

So, can anyone explain what's happening?

Thanks,

James


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic