You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ytbryan <yt...@gmail.com> on 2009/02/17 15:10:54 UTC
maven tomcat "server not defined in setting.xml"
Hi all,
i am new to this so please give me some help.
i wanted to deploy my gwt application onto my tomcat at localhost.
i added below to my pom.xml
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.0-beta-1</version>
<configuration>
<server>myserver</server>
</configuration>
</plugin>
i added below to my setting.xml
<server>
<id>myserver</id>
<username>admin</username>
<password></password>
</server>
but i still get Server not defined in setting.xml: myserver... i use
admin as username and no password since it is the default.
can someone advise me what did i do wrong? when i do mvn tomcat:info, i get
the same error: " Server not defined in setting.xml: myserver"
--
View this message in context: http://www.nabble.com/maven-tomcat-%22server-not-defined-in-setting.xml%22-tp22058064p22058064.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org