Hi all,

i got a maven parent project with 2 child modules
1. The webapp project (webapp)
2. The maven module for integration test (test)

both modules runs without problem individually. but as i want to automate
them together. i would like to configure the test project pom.xml such that
in the pre-integration-test and post-integration-test life cycle. the webapp
is started.

i try to use the exec-maven-plugin (in test project) to start the webapp
project using the maven-jetty-plugin (in webapp project). unfortunately this
does not work as the exec:exec goal will hang as mvn jetty:run command does
not return. i guess i could solve this problem by adding a "&" at the end of
the command but this will limited to only linux users.

Since the above approach doesn't work. i wonder if i could add the
maven-jetty-plugin in the test project to start the webpp in another maven
module which is the webapp project in my case. i have checked the
maven-jetty-plugin home page but i cannot figure out how to make it.

Any ideas are welcome and thanks for your help.

Regards,
Kit
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Run-maven-jetty-plugin-for-webapp-in-other-Maven-module-tp511054p511054.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to