Did you check the repository?

Anyway, to use the plugin, you should have a separate project declaring the plugin in its pom. After that, the project can now call hello:hello.



Michael Owen wrote:


It doesn't give errors any more, and creates the files in the target directory, however, doesn't install the plugin in the local repository and the goals "m2 hello:hello" or "m2 hello" don't work.

Thanks for help btw. :)

Mike

<br><br><br>&gt;From: Edwin Punzalan &lt;[EMAIL PROTECTED]&gt;<br>&gt;Reply-To: &quot;Maven Users List&quot; &lt;[email protected]&gt;<br>&gt;To: Maven Users List &lt;[email protected]&gt;<br>&gt;Subject: Re: [M2] Tutorial example not working for me<br>&gt;Date: Fri, 15 Jul 2005 17:44:30 +0800<br>&gt;<br>&gt;have you tried removing the &lt;id&gt; tag from your mojo?<br>&gt;<br>&gt;Michael Owen wrote:<br>&gt;<br>&gt;&gt;Hi,<br>&gt;&gt;<br>&gt;&gt;Firstly, I'm using Maven 2 alpha 3.<br>&gt;&gt;<br>&gt;&gt;When I try to make to make the Marmalade plugin at <br>&gt;&gt;http://maven.apache.org/maven2/developers/developing-plugins-with-marmalade.html, <br>&gt;&gt;I get the following error:<br>&gt;&gt;<br>&gt;&gt;java.lang.NullPointerException<br>&gt;&gt; at <br>&gt;&gt;org.codehaus.marmalade.metamodel.AbstractMarmaladeTagLibrary.createTag(AbstractMarmaladeTagLibrary.java:59)<br>&gt;&gt;<br>&gt;&gt;...<br>&gt;&gt;...<br>&gt;&gt;<br>&gt;&gt;I use the same pox.xml and hello.mmld as in the tutorial, so I <br>&gt;&gt;confused why it won't work. Any ideas?<br>&gt;&gt;<br>&gt;&gt;Thanks,<br>&gt;&gt;<br>&gt;&gt;Mike<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;---------------------------------------------------------------------<br>&gt;&gt;To unsubscribe, e-mail: [EMAIL PROTECTED]<br>&gt;&gt;For additional commands, e-mail: [EMAIL PROTECTED]<br>&gt;&gt;<br>&gt;<br>&gt;---------------------------------------------------------------------<br>&gt;To unsubscribe, e-mail: [EMAIL PROTECTED]<br>&gt;For additional commands, e-mail: [EMAIL PROTECTED]<br>&gt;<br>



---------------------------------------------------------------------
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