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:[email protected]] 
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)
<[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to