Finally i can make the maven-jetty-plugin in the test project to start the
webapp of another maven module. just add the following configuration in the
pom.xml
<contextPath>/"webapp_project_name"</contextPath>
<webAppSourceDirectory>${project.parent.basedir}/"webapp_project_name"/src/main/webapp</webAppSourceDirectory>
<webXml>${project.parent.basedir}/"webapp_project_name"/src/main/webapp/WEB-INF/web.xml</webXml>
<classesDirectory>${project.parent.basedir}/"webapp_project_name"/target/classes</classesDirectory>
Thanks.
--
View this message in context:
http://maven.40175.n5.nabble.com/Run-maven-jetty-plugin-for-webapp-in-other-Maven-module-tp511054p511249.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]