thank first, no it was not in it. 
it was up to Packaging, I forgot to set the Packaging as maven-plugin . 
it works now. 
Thank you 

simoha wrote:
> 
>  thank first, no it was not in it. 
> it was up to Packaging, I forgot, the Packaging in maven-plugin set. 
> it works now. 
> Thank you 
> 
> Dhruva Reddy-2 wrote:
>> 
>> As it appears in your email, you have spaces in the goal name:
>> 
>> sample.plugin:maven-hello-plugin :1.0-SNAPSHOT: sayhi
>> 
>> isn't the same as 
>> 
>> sample.plugin:maven-hello-plugin:1.0-SNAPSHOT:sayhi
>> 
>> is it?
>> 
>> -----Original Message-----
>> From: simoha [mailto:[EMAIL PROTECTED] 
>> Sent: Wednesday, September 03, 2008 9:48 AM
>> To: [email protected]
>> Subject: Maven Plugin
>> 
>> 
>>> Hi,
>>>   I created my first simple maven *plugin* and successfully installed
>> it.
>>> when I try to compile it with the command "mvn 
>>> sample.plugin:maven-hello-plugin :1.0-SNAPSHOT: sayhi" , I get the 
>>> following error message...
>>>
>>> Error:
>>> java.lang.IllegalStateException: The *PluginDescriptor* for the plugin
>>> Plugin* **[*sample.plugin*:*maven-hello-plugin *]* was not found.
>>> MOJO:
>>> ....
>>> [EMAIL PROTECTED] sayhi
>>> .....
>>>
>>> pom.xml:
>>> ...
>>> <groupId>sample.plugin</groupId>
>>> <artifactId>maven-hello-plugin </artifactId>...
>>> <version>1.0-SNAPSHOT</version>
>>>
>>> Can you tell me, where is the problem or what should I do to use my 
>>> Plugin?
>>> Thanks,
>>> Mhamed
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/Maven-Plugin-tp19289561p19289561.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> 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]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-Plugin-tp19289561p19298177.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to