You can also edit maven project pom.xml file, add properties for maven tomcat plugin configuration like below.You can deploy the maven project to the tomcat use command mvn =9090 tomcat7:deploy. If your tomcat listen on port number ( for exaple 9090 ) other than default 8080.How To Deploy Maven Project To Embedded Tomcat With Special Port Number. Execute command mvn tomcat7:deploy or mvn tomcat7:redeploy in the web-app directory where pom.xml file is saved.Edit TOMCAT_HOME/conf/tomcat-users.xml file, add above tomcat_server_user account in.Add below xml content in maven settings.xml file ( located in maven configuration folder such as /apache-maven-3.6.3/conf/settings.xml ).Edit mave project pom.xml file maven tomcat plugin section as below.
0 Comments
Leave a Reply. |