Hi,
I am using Surefire plugin 2.17 with the following configuration
configuration
parallelclasses/parallel
forkModeperthread/forkMode
threadCount4/threadCount
reuseForkstrue/reuseForks
perCoreThreadCounttrue/perCoreThreadCount
/configuration
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
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
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
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 -
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