Why the number of tests run in parallel is more than in single thread

2014-04-11 Thread Mao, James(Maode)
Hi, I am using Surefire plugin 2.17 with the following configuration configuration parallelclasses/parallel forkModeperthread/forkMode threadCount4/threadCount reuseForkstrue/reuseForks perCoreThreadCounttrue/perCoreThreadCount /configuration

Better way to capture output from a Maven job

2014-04-11 Thread stug23
I have a script that needs to obtain the three-part numerical version from a Maven pom.xml. I am using the Maven help plugin to the version number as follows: mvn help:evaluate -Dexpression=project.version Of course when running the Maven job, you get a great deal of output lines and towards the

Re: Better way to capture output from a Maven job

2014-04-11 Thread Bernd Eckenfels
Am Fri, 11 Apr 2014 13:32:42 -0700 (PDT) schrieb stug23 pat.poden...@gmail.com: While this works okay, I would have hoped for a better way to return a value from Maven. Is there a return/result parameter of some sort such that I don't have to pick the result out of the entire text output of

Excluding the main compile class from the classpath in failsafe

2014-04-11 Thread Benson Margulies
Strange as it might seem, I need to exclude the main compiled artifact from the classpath while running an integration test. The integration test is testing a framework that has it's own way to get the stuff into the classpath. Obviously, I want to keep the _test_. Will

Re: Better way to capture output from a Maven job

2014-04-11 Thread Wayne Fay
While this works okay, I would have hoped for a better way to return a value from Maven. Is there a return/result parameter of some sort such that I don't have to pick the result out of the entire text output of the Maven job execution? The versions-maven-plugin from Codehaus may be helpful -

Re: Better way to capture output from a Maven job

2014-04-11 Thread stug23
I also noted that someone has requested that help:evaluate values be returned in quiet mode: https://github.com/apache/maven-plugins/pull/17 -- View this message in context: http://maven.40175.n5.nabble.com/Better-way-to-capture-output-from-a-Maven-job-tp5790942p5790951.html Sent from the