Java Reference
In-Depth Information
Figure 7-15.
Searching and adding the Maven 2 plug-in
The Maven 2 Tomcat plug-in assumes a default Tomcat Manager URL (
http://
localhost:8080/manager
)
to connect and deploy the WAR file. For authentication, it
assumes that the manager's username is admin with no password. So, in order to get this
working, you may need to alter the
tomcat-users.xml
file to change the password of the
admin user. The Maven goals for this plug-in are not available explicitly. So, you need to
create a new run configuration as shown in Figure 7-16 to execute the Tomcat Maven
plug-in goals.
Figure 7-16.
Creating run configurations

