Thank you very much. I needed it because I wanted to integrate tests results
with other tools and I prefered to change maven folder rather than changing
the folder of all the other tools.
Baptiste MATHUS-4 wrote:
>
> After reading the documentation here:
> http://maven.apache.org/plugins/maven-surefire-report-plugin/examples/report-custom-location.html
>
> It seems like outputDirectory customization is only designed to generate
> the
> html file somewhere else. Generating xml/txt files in a custom directory
> seems not supported.
>
> May I ask why are you trying to do this?
>
> If it really annoys you, feel you to file a feature request in the
> maven-surefire-report-plugin tracker.
>
> Cheers.
>
> 2008/12/16 JJ__
>
>>
>> Hello,
>>
>> I am trying to compile and test a program and it works, but the report of
>> the tests are stored in target\surefire-reports the default directory. I
>> have changed it with the following pom.xml changing outputDirectory of
>> both
>> plugins "maven-surefire-report-plugin" and "maven-site-plugin" but it
>> still
>> stores the xml files of the results in the default directory. Does anyone
>> knows what am I doing wrong?
>>
>> thanks in advanced.
>>
>>
>> 4.0.0
>> org.MyTests.Test
>> Program
>> jar
>> MyProgram
>> 0.0.1
>> My program project
>>
>>
>>
>> src\net\sourceforge\cruisecontrol\sampleproject\connectfour
>>
>>
>> test\net\sourceforge\cruisecontrol\sampleproject\connectfour
>>install
>>${basedir}/target
>>${artifactId}-${version}
>>
>>
>>org.apache.maven.plugins
>>maven-jar-plugin
>>
>>
>>
>>
>>
>> net.sourceforge.cruisecontrol.sampleproject.connectfour.PlayingStand
>> false
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>org.apache.maven.plugins
>>maven-surefire-report-plugin
>>2.4.2
>>
>>
>> ${basedir}/target/test-report
>>
>>
>>
>>org.apache.maven.plugins
>>maven-site-plugin
>>2.0-beta-5
>>
>>
>> ${basedir}/target/test-report
>>
>>
>>
>>
>>
>>
>>
>> junit
>> junit
>> 3.8.1
>> test
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Resport-of-Junit-tests-in-other-folder-tp21040830p21040830.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
>>
>>
>
>
> --
> Baptiste MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>
>
--
View this message in context:
http://www.nabble.com/Resport-of-Junit-tests-in-other-folder-tp21040830p21042220.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