$ mvn -v
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: /mnt/run/dhendriks/apps/apache-maven
Java version: 1.6.0_25, vendor: Sun Microsystems Inc.
Java home: /usr/java/jdk1.6.0_25/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.18-128.1.6.el5pae", arch: "i386", family: "unix"

Dennis

luc.maison...@free.fr wrote:
----- "Dennis Hendriks" <d.hendr...@tue.nl> a écrit :

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?

No ideas at all :-(
Which version of maven do you use ?

Luc

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

---------------------------------------------------------------------
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