Am 22.05.2013 18:22, schrieb Gary Gregory:
When I build [pool] trunk with 'mvn clean site', I get:

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3:48.965s
[INFO] Finished at: Wed May 22 12:18:42 EDT 2013
[INFO] Final Memory: 59M/559M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on
project commons-dbcp2: Error during page generation: Error rendering Maven
report: Failed during checkstyle configuration: cannot
  initialize module PackageHtml - Unable to instantiate PackageHtml: Unable
to instantiate PackageHtmlCheck -> [Help 1]

Errors like that can be caused by updating the version of the maven checkstyle plug-in. Newer versions also use newer checkstyle versions, and obviously there are sometimes incompatible changes in the format of the checkstyle configuration. I had similar problems recently at work.

Typically, it is not too difficult to find out what has changed and how to correct the problem (e.g. a tag in the configuration file has to be moved to another section, or attribute names have changed). However, it is still some effort to investigate.

Oliver

[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

I use:

Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
08:51:28-0500)
Maven home: C:\Java\apache-maven-3.0.5\bin\..
Java version: 1.7.0_21, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_21\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

Does anyone else get this?

Gary



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to