Re: setting surefire reports directory

2009-03-26 Thread Norbert S.

Hi,
thank you for your answers. Reinhards infos solve exactly my problem.

Of course I knew the luntbuild-property "artifactsDir". But I missed
the solution from Reinhard how I simply integrate this property in the
pom.xml
without forcing the user to set the artifactsDir at every call or integrate
a default-artifactsDir in every profile!

Norbert


-- 
View this message in context: 
http://www.nabble.com/setting-surefire-reports-directory-tp22702724p22720009.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: setting surefire reports directory

2009-03-25 Thread Wayne Fay
> Luntbuild overrides the property in your pom, so that the reports end up in
> the right place.

I certainly hope this is documented somewhere in the Luntbuild site.
And if it is, I have to ask Norbert why he didn't see it. ;-)

If it is not, this is pretty clearly a failure in their docs.

Wayne

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



Re: setting surefire reports directory

2009-03-25 Thread Reinhard Nägele
Luntbuild sets the system property "artifactsDir" which you can use. Add 
the following property to your pom:

${project.build.directory}

Add the following to your surefire plugin configuration:
${artifactsDir}/surefire-reports

For a multi-module project you could do:
${artifactsDir}/surefire-reports/${artifactId}

Luntbuild overrides the property in your pom, so that the reports end up 
in the right place.


Reinhard


Norbert Sensen schrieb:

Hallo,
 
we are using maven-projects and use luntbuild for continuous integration.

So, we want to set the "Surefire report directory" while calling maven.
 
While reading the documentation I expected that calling maven via

mvn -DreportsDirectory=/our/report/dir test
would do the job.
But unfortunately, the argument "-DreportsDirectory=/our/report/dir" seems
to have no impact at all,
i.e. the reports are still placed inside 
 
I have tried a couple of things but found no solution.

Can anybody help me? How can I configure the destination directory of
surefire?
 
What I really want is the following possibility:

Calling mvn without any special arguments, the surefire-reports should be
placed in the standard directory.
But it should be possible to set the surefire report directory by using any
argument while calling maven.
 
Yours,
 
Norbert Sensen



  



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



setting surefire reports directory

2009-03-25 Thread Norbert Sensen
Hallo,
 
we are using maven-projects and use luntbuild for continuous integration.
So, we want to set the "Surefire report directory" while calling maven.
 
While reading the documentation I expected that calling maven via
mvn -DreportsDirectory=/our/report/dir test
would do the job.
But unfortunately, the argument "-DreportsDirectory=/our/report/dir" seems
to have no impact at all,
i.e. the reports are still placed inside 
 
I have tried a couple of things but found no solution.
Can anybody help me? How can I configure the destination directory of
surefire?
 
What I really want is the following possibility:
Calling mvn without any special arguments, the surefire-reports should be
placed in the standard directory.
But it should be possible to set the surefire report directory by using any
argument while calling maven.
 
Yours,
 
Norbert Sensen