I'm trying to set up my maven2 project to deploy to my local tomcat. In the pom I added:
... <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <configuration> <server>tomcat</server> <url>http://localhost:8081/manager</url> <path>/freecologic</path> </configuration> </plugin> ... But when I run: mvn tomcat:deploy Maven seems to deploy to the default port: [INFO] Processing war project [INFO] Copying webapp resources[C:\dev\workspace\appjsf\src\main\webapp] [INFO] Webapp assembled in[3301 msecs] [INFO] Building war: C:\dev\workspace\appjsf\targetappjsf-1.0-SNAPSHOT.war [INFO] [tomcat:deploy {execution: default-cli}] [INFO] Deploying war to http://localhost:8080/appjsf [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Cannot invoke Tomcat manager Embedded error: Connection refused: connect [INFO] ------------------------------------------------------------------------ Would be that maven isn't taking the configuration in account? I doubled checked and everything seems to be right. thanks --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org