If you want this feature, you can't use jetty:run, but you need to use the 
cargo plugin.
jetty:run start only a jetty server like you do it without maven.

Emmanuel

Julien HENRY a écrit :
Hi,

I want to execute jetty:run at the pre-integration-test phase and stop it (like 
Ctrl+C) at the post-integration-test phase.

The problem is jetty:run wait for being killed undefinitly and integration-test 
phase is never executed.

I don't know exactly how to do this. It may need to develop a new plugin or 
modify the existing one? Forking a JVM ?

I think I could use an ant run task, but it's not very "Maven compliant".

(http://ptrthomas.wordpress.com/2006/10/10/how-to-start-and-stop-jetty-from-ant/)

Thanks

Julien




        

        
                
___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to