You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nicolas De Loof <ni...@capgemini.com> on 2006/07/18 12:25:45 UTC
[m1] how to set testmatchpattern from maven.xml
Hello,
I'd like to run some tests in my multiproject maven.xml (thos tests will
run on my continuum server)
I've setup a goal in my parent maven.xml that uses reactor to execute
test:match :
<maven:reactor
basedir="${maven.multiproject.basedir}"
banner="Run CI tests"
includes="${maven.multiproject.includes}"
excludes="${maven.multiproject.excludes}"
ignoreFailures="true"
goals="test:match"/>
I don't find a way to set testmatchpattern :
<j:set var="testmatchpattern" ...
<maven:set plugin="maven-test-plugin" property="testmatchpattern" ..
<maven:set plugin="maven-multiproject-plugin"
property="testmatchpattern" ..
Neither has the expected effect : I allways get "You must define the
test case to run via -Dtestmatchpattern=pattern"
Does anyone know a solution for this ?
Nico.
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m1] how to set testmatchpattern from maven.xml
Posted by Lukas Theussl <lt...@apache.org>.
Did you try
<j:set var="" value="" scope="parent"/>
HTH,
-Lukas
Nicolas De Loof wrote:
>
> Hello,
>
> I'd like to run some tests in my multiproject maven.xml (thos tests will
> run on my continuum server)
> I've setup a goal in my parent maven.xml that uses reactor to execute
> test:match :
>
> <maven:reactor
> basedir="${maven.multiproject.basedir}"
> banner="Run CI tests"
> includes="${maven.multiproject.includes}"
> excludes="${maven.multiproject.excludes}"
> ignoreFailures="true"
> goals="test:match"/>
>
> I don't find a way to set testmatchpattern :
>
> <j:set var="testmatchpattern" ...
> <maven:set plugin="maven-test-plugin" property="testmatchpattern" ..
> <maven:set plugin="maven-multiproject-plugin"
> property="testmatchpattern" ..
> Neither has the expected effect : I allways get "You must define the
> test case to run via -Dtestmatchpattern=pattern"
>
> Does anyone know a solution for this ?
>
> Nico.
>
>
>
> This message contains information that may be privileged or confidential
> and is the property of the Capgemini Group. It is intended only for the
> person to whom it is addressed. If you are not the intended recipient,
> you are not authorized to read, print, retain, copy, disseminate,
> distribute, or use this message or any part thereof. If you receive
> this message in error, please notify the sender immediately and delete
> all copies of this message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org