Re: NPE using JavaCC

2006-05-23 Thread Stefano Fornari
Hey Tim! you are great! Thanks a lot for your help, it worked. I hope I'll have the opportunity to pay the bill in some way ;) Ste On 5/23/06, Tim Kettler <[EMAIL PROTECTED]> wrote: (Almost) all plugins have a groupId of either 'org.apache.maven.plugins' or 'org.codehaus.mojo' so everything els

Re: NPE using JavaCC

2006-05-23 Thread Tim Kettler
(Almost) all plugins have a groupId of either 'org.apache.maven.plugins' or 'org.codehaus.mojo' so everything else looks suspicious until proved otherwise :-) Have you tried the links from my first mail? I have checked them before posting and they did work for me. Just to be sure: In case the

Re: NPE using JavaCC

2006-05-23 Thread Stefano Fornari
That's a great catch! I actually assumed I could use it as plugin, because when I ran mvn javacc:javacc, I get: INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'javacc'. [INFO] [INFO]

Re: NPE using JavaCC

2006-05-23 Thread Tim Kettler
The pom of the artifact you are referencing in your plugin definition (http://repo.mergere.com/maven2/net/java/dev/javacc/javacc/4.0/javacc-4.0.pom) has a packaging of type 'jar' and not 'maven-plugin' as it should if it really is a plugin. I think this is just javacc itself. Or does your ja

Re: NPE using JavaCC

2006-05-23 Thread Stefano Fornari
Hi Tim, I am sure it exists, otherwise I get an error that the plugin cannot be found. The weird thing is that the NPE is in the maven code, not int the plug-in code but I am pretty sure it is a configuration problem (actually, the fact I get a NPE is probably a maven bug, but due to a not cor

Re: NPE using JavaCC

2006-05-23 Thread Tim Kettler
Stefano Fornari schrieb: Hi All, still struggling with JavaCC and Maven. I have the following pom: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.