You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "sharmishta.kaul" <sh...@daffodildb.com> on 2006/08/02 14:30:12 UTC
unable to deploy to tomcat
Thanks for your help. I have been able to upload to the repository. I had
> missed out the maven-artifact-plugin. Now I want to deploy remotely to the
> tomcat's webapps. What plugin should I use. I'm using FileZilla server
Re: unable to deploy to tomcat
Posted by Arnaud HERITIER <ah...@gmail.com>.
Sharmishta is using maven 1 not m2. ;-)
Arnaud
On 8/2/06, devillina <on...@delaware.be> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: unable to deploy to tomcat
Posted by devillina <on...@delaware.be>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org