camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babak Vahdat <babak.vah...@swissonline.ch>
Subject Re: Checkstyle plugin no longer works
Date Thu, 20 Sep 2012 07:50:05 GMT
Hi

Having the following setup it works for me as well:

Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: P:\My Documents\dev\env\apache-maven-3.0.4\bin\..
Java version: 1.6.0_35, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_35\jre
Default locale: de_CH, platform encoding: Cp1252
OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"

Frankly using "-Dtest=false" is actually a hack to skip running the tests
which would even make the build run a bit slower as each single Test class
by each given module will be compared to the name "false" to see if the Test
class should be run or not! Can you maybe try using the "fastinstall"
Profile as stated here:

http://camel.apache.org/building.html#Building-DoingaQuickBuild

Also given your maven error message, you make use of the surefire-plugin
version 2.12 which has got some known issues by this concern like:

https://jira.codehaus.org/browse/SUREFIRE-827

Babak


Claus Ibsen-2 wrote
> Hi
> 
> This problem continues this morning. Doing a mvn clean install
> -Dtest=false renders this problem now
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 38.157s
> [INFO] Finished at: Thu Sep 20 08:26:37 CEST 2012
> [INFO] Final Memory: 81M/178M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test
> (default-test) on project camel-buildtools: No tests were executed!
> (Set -DfailIfNoTests=false to ignore this error.) -> [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/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn 
> <goals>
>  -rf :camel-buildtools
> 
> 
> 
> 
> -- 
> Claus Ibsen
> -----------------
> FuseSource
> Email: 

> cibsen@

> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen





--
View this message in context: http://camel.465427.n5.nabble.com/Checkstyle-plugin-no-longer-works-tp5719570p5719648.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message