On 3/6/06, Tim Kettler <[EMAIL PROTECTED]> wrote: > jerome lacoste schrieb: > > On 3/4/06, Tim Kettler <[EMAIL PROTECTED]> wrote: > >> Hi, > >> > >> I when running the plugin I get the following NPE: > > > > there's a patch waiting in Jira that should fix that. Look at the > > Maven 2 .x Jar Plugin. > > > > Jerome > > > > Ok, thanks. It's working now. But http://jira.codehaus.org/browse/MJAR-31 > alone didn't > solve the problem. I also had to apply number two from this posting: > > http://mail-archives.apache.org/mod_mbox/maven-dev/200603.mbox/[EMAIL > PROTECTED]
Tim, geoffrey, first NPE should have been fixed in trunk but I don't manage to reproduce the issue that required you to make that second line change. Do you have a test case? Why is MavenProject.getArtifact() returning null? In which phase do you use the plugin? Cheers, Jerome
