Search code examples
maven-3cargo-maven2-plugin

How to specify the catalina container in the cmd mvn cargo:stop


How to specify the catalina container in the cmd mvn cargo:stop :

Because whene i use it, the plugin look for the container in the default folder of Tomcat :

AppData\Local\Temp\cargo\installs\apache-tomcat-8.0.20.zip


Solution

  • Can you please share your maven configuration?

    From your description I think you need to set container home and possibly also configuration home.

    Container home should reference to installation directory of your Tomcat installation. It is set by element <home> in <container> element.

    If you use existing configuration then you should also set configuration home. It is set by element <home> in <configuration> element.

    You may see examples in Cargo documentation