Start Tomcat with Maven Cargo without stop when Maven is finish
-
28-10-2019 - |
Вопрос
Is ist possible to Start a Tomcat with Maven without stopping Tomcat after Maven has finished?
Решение
It does not look possible. Look at the plugin documentation here.
cargo:start : will automatically shut down as soon as the parent Maven instance quits
cargo:run : Start a container and wait for the user to press CTRL + C to stop
Другие советы
Well, it is possible. You need to create Maven sub-project and start it with maven-antrun-plugin
as a background process.
Не связан с StackOverflow