I do web project in IDEA with the help of mavena. I choose the packaging target and the maven collects my project in the WAR archive and puts it in the / target folder of the project directory. At the same time, I have a separate TomCat server running. The question of how to make the maven when building a WAR archive sent it immediately to the server in the / webapps directory ??? How do you tell me?

  • one
    at one time did like this , you only need to call mvn tomcat7:deploy from the command line, will this option work? - MrFylypenko Sep.
  • Thanks, I will try - Alexander Smirnov

0