Closed cgueret closed 12 years ago
In order to be able to deploy the console using
mvn tomcat:deploy
You need to define the credentials for the application server (currently it has the id 'tomcat_local').
In your home directory, edit the file ~/.m2/settings.xml, and make sure it contains something similar to:
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>tomcat_local</id>
<username>foo</username>
<password>bar</password>
</server>
</servers>
</settings>
Fixed
Verify that the pom works from the command line