Вопрос

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top