Try specifying the full name on the command line ie:

mvn -X org.codehaus.mojo:minijar-maven-plugin:ueberjar

Wayne

On 3/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I turned stacktraces on and it seems that maven looks for the wrong
plugin:



[DEBUG] Artifact not found - using stub model: Unable to determine the
latest version

 org.apache.maven.plugins:maven-minijar-plugin:pom:LATEST



Instead of minijar-maven-plugin it looks for maven-minijar-plugin.

There must be something I'm doing wrong ...





-----Original Message-----
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Monday, March 19, 2007 1:30 AM
To: Maven Users List
Subject: Re: Installing new plugins



As far as I can see, you've misspelled ueberjar:

http://mojo.codehaus.org/minijar-maven-plugin/plugin-info.html



But I don't use this plugin myself, so I'm not entirely positive this

is the problem. Run mvn -X for more error details.



Wayne



On 3/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> Hi.

>

> I wish to work with a plugin from codehaus. I added the required

> <repository> and <pluginRepository> to my pom as stated in the
codehaus

> site.

>

> Still when I try to run it I get a "plugin does not exist or no valid

> version could be found".

>

>

>

> The plugin I tried to use is minijar and I tried both the following

> commands to make it work:

>

>

>

> mvn minijar-maven-plugin:uberjar

>

> mvn minijar:uberjar

>

>

>

>

>

> Is there anything else one should do in order to install a new plugin?

>

>



---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to