Hi, mvn test is for unit testing. Should your tests require a running server it is no more a unit test but integration/acceptance test. There is a dedicated Maven phase for this concern: integration-test
You can setup your server during the pre-integration-test phase and cleanup during post-integration-test. Regards, Julien ----- Message d'origine ---- De : Karl Heinz Marbaise <[EMAIL PROTECTED]> À : [email protected] Envoyé le : Vendredi, 6 Juin 2008, 16h32mn 17s Objet : Axis2 / Maven 2 Hi there, i'm working on a project which uses Axis2 and creates Web-Services... but I'm a little bit unhappy, cause currently if i would like to run the test (unit tests) i have to package the service and deploy this to an server (all by hand) and after that i can do the unit tests... But i would like to have the following situation: Maven 2 would build the artifact (e.g. aar file) start an suitable server (e.g. from axis2) and run the tests against this server. An ideal world would be to simply call "mvn test"... May be this is a more Axis2 centric questions...... Does some has created such scenario before? Any hints would be nice.... Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung Schulung Tel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz Marbaise ICQ#: 135949029 Hauptstrasse 177 USt.IdNr: DE191347579 52146 Würselen http://www.soebes.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
