Since checkstyle-2.8 there's a second report: the
checkstyle-aggregator-report[1]
This causes the the duplicate loglines for the checkstyle-plugin, one for
each report.
My intuition would say that should always be only 1 report: the
checkstyle-aggregator is for pom-packaged projects
Robert
[1]
http://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle-aggregate-mojo.html
Op Fri, 13 Apr 2012 16:23:01 +0200 schreef Grant Lewis
<ukchuckt...@gmail.com>:
I always run a clean before I run site. It's not a leftover. The
duplicate
is repeatable. Whatever is causing it is inherent in my configuration or
possibly some missing markup in my pom file. I'm not trying to compile
anything, just run the checkstyle check. The check and report look good
now. The only issue is the report duplication. I pasted the log
statements
during an execution. You can clearly see it run the report twice...
[INFO] [site:site {execution: default-site}]
[WARNING] No project URL defined - decoration links will not be
relativized!
[INFO] Rendering site with
org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Generating "Checkstyle" report --- Maven Checkstyle Plugin
2.9.1
[WARNING] File encoding has not been set, using platform encoding
MacRoman,
i.e. build is platform dependent!
[INFO]
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] Generating "Checkstyle" report --- Maven Checkstyle Plugin
2.9.1
[WARNING] File encoding has not been set, using platform encoding
MacRoman,
i.e. build is platform dependent!
[INFO]
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO] Generating "Plugin Management" report --- Maven Project Info
Reports Plugin 2.1
[INFO] Generating "Mailing Lists" report --- Maven Project Info
Reports
Plugin 2.1
[INFO] Generating "Continuous Integration" report --- Maven Project
Info
Reports Plugin 2.1
[INFO] Generating "Project License" report --- Maven Project Info
Reports Plugin 2.1
[INFO] Generating "Project Team" report --- Maven Project Info Reports
Plugin 2.1
[INFO] Generating "Source Repository" report --- Maven Project Info
Reports Plugin 2.1
[INFO] Generating "About" report --- Maven Project Info Reports Plugin
2.1
[INFO] Generating "Issue Tracking" report --- Maven Project Info
Reports
Plugin 2.1
[INFO] Generating "Project Summary" report --- Maven Project Info
Reports Plugin 2.1
[INFO] Generating "Project Plugins" report --- Maven Project Info
Reports Plugin 2.1
[INFO] Generating "Dependencies" report --- Maven Project Info Reports
Plugin 2.1
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 30 seconds
[INFO] Finished at: Fri Apr 13 10:12:27 EDT 2012
[INFO] Final Memory: 46M/138M
On Fri, Apr 13, 2012 at 10:15 AM, Wayne Fay <wayne...@gmail.com> wrote:
> configured one time. All is good with the check but I still get the
> checkstyle report generated twice when I run mvn site. I turned on
debug
> and nothing jumped out. I also run help:effective-pm and noticed an
older
Have you run "mvn clean" lately? Perhaps this is leftover from an old
build.
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org