Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat deploy plugin

 
bliblie blablia
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i'm just new to the world of maven and i'm struggling with a problem...
i want to deploy to tomcat
so i googled and found the tomcat plugin
(http://mojo.codehaus.org/tomcat-maven-plugin/configuration.html)

but i don't understand how i use i now
i put this in my pom

<build>
<plugins>
...
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
</plugin>
</plugins>
...
</build>

but when i type

mvn tomcat eploy

he keeps giving me the following error message:

Unable to download the artifact from any repository
org.codehaus.mojo:tomcat-maven-plugin
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
snvrepo (http://localhost:80/bla/svnrepo)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic