برای این کار شما می توانید از jetty-maven-plugin یا tomcat7-maven-plugin استفاده کنید. برای مثال برای تنظیم jetty-maven-plugin باید در قسمت plugins فایل pom تعریف jetty-maven-plugin را اضافه کنید:
            <plugin>
                <!-- jetty-maven-plugin -->
                <groupId>org.eclipse.jetty</groupId>
                <artifactId>jetty-maven-plugin</artifactId>
                <version>9.4.8.v20171121</version>
                <configuration>
                    <httpConnector>
                        <port>9090</port>
                    </httpConnector>
                    <webApp>
                        <contextPath>/</contextPath>
                    </webApp>
                </configuration>
            </plugin>
	حالا می توانید از goal زیر استفاده کنید:
mvn jetty:run