I am having problems deploying to a remote machine with tomcat installed as aservice. My tomcat users:
<tomcat-users> <role rolename="manager"/> <user username="admin" password="admin" roles="tomcat, admin, manager-gui, manager-script"/> </tomcat-users>
My .xml settings:
<settings> <pluginGroups> <pluginGroup>org.apache.tomcat.maven</pluginGroup> </pluginGroups> <servers> <server> <id>tomcat7</id> <username>admin</username> <password>admin</password> </server> </servers> </settings>
And my pom.xml has the following:
<plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <configuration> <server>tomcat7</server> <url>http://localhost:8081/manager/text</url> <warFile>target/editor-${project.version}.war</warFile> </configuration>
And I keep getting 401 Unauthorized on the maven console output. Can you tell me what I'm doing wrong?
source share