Sharmishta is using maven 1 not m2. ;-) Arnaud
On 8/2/06, devillina <[EMAIL PROTECTED]> wrote:
i'm deploying to tomcat using the tomcat-maven-plugin from codehaus <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <version>1.0-SNAPSHOT</version> <configuration> <warFile> /target/dev/${artifactId}-${version}-dev.war </warFile> </configuration> </plugin> (you can just put it between the <build>...<plugins>...</plugins>...</build> tags) Don't forget to also put the following in your pum otherwise he won't find this plugin. <repositories> <repository> <releases> <enabled>false</enabled> </releases> <snapshots /> <id>Maven Snapshots</id> <url>http://snapshots.maven.codehaus.org/maven2/ </url> </repository> </repositories> <pluginRepositories> <pluginRepository> <releases> <enabled>false</enabled> </releases> <snapshots /> <id>Maven Snapshots</id> <url>http://snapshots.maven.codehaus.org/maven2/ </url> </pluginRepository> </pluginRepositories> hope this helps! -- View this message in context: http://www.nabble.com/unable-to-deploy-to-tomcat-tf2039596.html#a5613246 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]