MG>this is a helpful link to implement "deploy your war to Tomcat via tomcat-maven-plugin"
https://www.mkyong.com/maven/how-to-deploy-maven-based-war-file-to-tomcat/ How to deploy Maven based war file to Tomcat - Mkyong<https://www.mkyong.com/maven/how-to-deploy-maven-based-war-file-to-tomcat/> www.mkyong.com In this tutorial, we will show you how to use Maven-Tomcat plugin to package and deploy a WAR file to Tomcat, both in Tomcat 6 and 7. This example shows you how to ... MG>this *assumes* uptodate artifact jars from <dependencies> are pre-installed to repository(your local repository) ________________________________ From: Martin Gainty <mgai...@hotmail.com> Sent: Friday, January 12, 2018 10:05 PM To: Maven Users List Subject: Re: Running tomcat maven plugin in a multi modules project MG>knowing you're not going to find your artifacts in any of maven repositories you will need to deploy local repo MG>look at the Tomcat autodeploy feature for any changes to war to 'autodeploy' to specified location (which in TC is MG>webapps folder but for maven-plugin you will <auto>deploy to your local repo) MG>if you could clone project to github and share the link we could more closely track any errors you are experiencing ________________________________ From: Sigmond Hola <sigmund....@gmail.com> Sent: Friday, January 12, 2018 9:33 PM To: users@maven.apache.org Subject: Running tomcat maven plugin in a multi modules project I have a multi-module project like this: ROOT:pom --- web:war --- domain:jar --- service:jar --- dao:jar And i configure tomcat7-maven-plugin in pom.xml of module *web *so that I can using tomcat:run to run this web application. But if I change something in other module, for example, add a new entity class in module domain, I have to install the ROOT to local repo first before I run tomcat:run within module web, otherwise a error: cannot find symbol will be reported if I run tomcat:run directly. So how can I install other modules first before I run tomcat:run within module web if I change something in other modules? Thanks in advance. Best regards.