maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Tran <dant...@gmail.com>
Subject Re: Need to execute class before unit test
Date Thu, 31 Dec 2009 21:14:52 GMT
should not in surefire,

please exec-maven-plugin usage for detail

-Dan

On Thu, Dec 31, 2009 at 12:52 PM, Vladimir Kravtsov (NIM Contractor)
<vkravtsov@networksinmotion.com> wrote:
> Thanks!
> Could you hint me a little should it be done within surefire plugin or somewhere else?
>
> Vladimir Kravtsov
> 949-453-3491 (desk)
> 425-443-4502 (cell)
>
>
> -----Original Message-----
> From: Dan Tran [mailto:dantran@gmail.com]
> Sent: Thursday, December 31, 2009 12:50 PM
> To: Maven Users List
> Subject: Re: Need to execute class before unit test
>
> setup your pom to run a exec-maven-plugin's execution before test phase
>
> -D
>
> On Thu, Dec 31, 2009 at 11:31 AM, Vladimir Kravtsov (NIM Contractor)
> <vkravtsov@networksinmotion.com> wrote:
>> Happy New Year to everybody!
>>
>>
>>
>> Do you know if this problem can be resolved in Maven?
>>
>>
>>
>> I need to execute some java code before my unit tests. Since I am using
>> TestNG, it could be resolved using BeforeSuite tag but I would prefer to
>> configure Mavenl. So far I was not able to understand how to implement
>> this into surefire plugin or if it is possible at all. Also I would like
>> to use mutli-module.
>>
>>
>>
>> Thanks,
>>
>> Vladimir Kravtsov
>>
>> TeleCommunication Systems
>>
>> 949-453-3491 (desk)
>>
>> 425-443-4502 (cell)
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message