I tried 'mvn clean site', and got this:

(...)
main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-remote-resources-plugin:1.0:process (default) @ commons-math ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.1:resources (default-resources) @ commons-math ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources to META-INF
[INFO] Copying 1 resource to META-INF/localization
[INFO]
[INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ commons-math ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< jdepend-maven-plugin:2.0-beta-2:generate (report:generate) @ commons-math <<<
[INFO] configuring report plugin org.codehaus.mojo:rat-maven-plugin:1.0-alpha-3
[INFO] configuring report plugin org.codehaus.mojo:findbugs-maven-plugin:2.1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:05.413s
[INFO] Finished at: Mon Jun 27 08:54:24 CEST 2011
[INFO] Final Memory: 32M/280M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site (default-site) on project commons-math: failed to get Reports: Unable to parse configuration of mojo org.codehaus.mojo:findbugs-maven-plugin:2.1:findbugs for parameter localRepository: Abstract class or interface 'org.apache.maven.artifact.repository.DefaultArtifactRepository' cannot be instantiated -> [Help 1]
[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

any ideas?

Dennis


Luc Maisonobe wrote:
Le 24/06/2011 11:33, Dennis Hendriks a écrit :
 > I have 137 errors only adding the check for braces, and only a handful
 > without this check!

I used a trunk checkout and then:

mvn -Prc clean package
mvn checkstyle:checkstyle

and I got 22792 checkstyle errors... See attachments.

The checkstyle file used is not the one from Apache Commons Math. I'm not sure using the "rc" profile in the -Prc flag really cleaned everything on the first command, so the second command "mvn checkstyle:checkstyle" did use a cached value.

Try something along these lines, without any -P flag:

mvn clean site

Luc

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



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

Reply via email to