I\'m trying to create a spring mvc application. This is my pom.xml
Another option is to use the Apache Maven Shade Plugin: This plugin provides the capability to package the artifact in an uber-jar, including its dependencies and to shade - i.e. rename - the packages of some of the dependencies.
add this to your build plugins section
org.apache.maven.plugins
maven-shade-plugin