How to run embedded Tomcat 9 inside Maven 3 for integration testing purposes?
问题 I am trying to run embedded Tomcat 9 inside Maven 3 for integration testing purposes. I was led to cargo-maven2-plugin by other SO answers. So, attempting to follow the instructions found here: https://codehaus-cargo.github.io/cargo/Static+deployment+of+WAR.html I have this fragment in a simple POM: <build> <plugins> <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>1.7.6</version> <configuration> <container> <containerId>tomcat9x<