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 <[email protected]> Sent: Friday, January 12, 2018 9:33 PM To: [email protected] 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.
