Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > tomcat-maven-plugin problem - mvn is looking for org.apache.maven.plugins:maven-tomcat-plugin

Reply
Thread Tools

tomcat-maven-plugin problem - mvn is looking for org.apache.maven.plugins:maven-tomcat-plugin

 
 
Marcin Cenkier
Guest
Posts: n/a
 
      04-12-2006
Hi,

I'm trying to use tomcat-maven-plugin from
http://mojo.codehaus.org/tomcat-maven-plugin/

But when I type mvn tomcat:deploy, i get

[INFO]
----------------------------------------------------------------------------
[INFO] Building Design Council
[INFO] task-segment: [tomcat:deploy]
[INFO]
----------------------------------------------------------------------------
[INFO] Searching repository for plugin with prefix: 'tomcat'.
[ERROR] project-execute : myapp:myapp:war:0.1.0-SNAPSHOT (
task-segment: [tomcat:deploy] )
Diagnosis: The plugin 'org.apache.maven.plugins:maven-tomcat-plugin'
does not exist or no valid version could be found
FATAL ERROR: Error executing Maven for a project
org.apache.maven.lifecycle.LifecycleExecutionExcep tion: The plugin
'*org.apache.maven.plugins:maven-tomcat-plugin*' does not exist or no
valid version could be found

But I don't even have 'maven-tomcat-plugin' configured in my pom.xml!
I've tried removing whole repository, but the problem persists. I'm just
wondering if there is a way to make maven use a specific plugin for the
shortname tomcat?

--
Pozdrawiam, [mailto_mcenkier_at_post_pl]
Marcin Cenkier


 
Reply With Quote
 
 
 
 
Marcin Cenkier
Guest
Posts: n/a
 
      04-12-2006
Marcin Cenkier napisał(a):
> I'm just
> wondering if there is a way to make maven use a specific plugin for the
> shortname tomcat?


hey, I resolver the conflict by calling:

mvn org.codehaus.mojo:tomcat-maven-plugin:deploy



'Invalid task 'kasza': you must specify a valid lifecycle phase, or a
goal in the format plugin:goal or
*pluginGroupIdluginArtifactIdluginVersion:goal *'

--
Pozdrawiam, [mailto_mcenkier_at_post_pl]
Marcin Cenkier
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: [SI] Reminder, Looking Up/Looking Down is due March 17th. Tony Cooper Digital Photography 9 03-17-2013 05:03 AM
Re: [SI] Reminder, Looking Up/Looking Down is due March 17th. Rob Digital Photography 2 03-15-2013 01:36 AM
mvn - deploying problem golem Java 0 07-03-2007 08:03 AM
Looking for a Ruby Programmer Looking for a Fun Project. ;) Mark Ruby 9 03-10-2006 08:11 PM
CD sounds files--.MVN extension Shoogle Computer Support 2 03-08-2005 04:33 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57