I want to create a war file without embedded tomcat with maven. Here the relevant part of my pom
...
org.springframework.bo
I'm not sure if that's the spring-boot way of doing it, but you can exclude the tomcat jars using the maven-war-plugin
configuration. That is, add the following to your pom.xml:
...
org.apache.maven.plugins
maven-war-plugin
2.4
WEB-INF/lib/tomcat-*.jar
Using this approach, the war generated is not executable (cannot be run on command line using java -jar ) but can only be deployed to any servlet container