That'll work, but it's a bit dodgy on the other peron's behalf - and if they decide to start depending on that its going to break everywhere.
The problem is that the project.xml file is shared between plugin build-time and plugin run-time. Extending another parent if useful for build-time, but not run-time when it is not present. However, Maven shouldn't be following any <extend/> link in the plugin at run-time. Perhaps if you run maven -e and show the FileNotFoundException stack trace we could find out where it is occurring, although it would be easier to grep for the use of plugin-parent :) I'm guessing it's in maven.xml or plugin.jelly inside the plugin. Cheers, Brett > -----Original Message----- > From: Joe Germuska [mailto:[EMAIL PROTECTED] > Sent: Thursday, 27 May 2004 1:38 PM > To: Maven Users List > Subject: RE: plugin-parent error with 1.0rc3 > > > At 12:41 PM +1000 5/27/04, Brett Porter wrote: > >Sounds like a bug in that plugin somewhere... Where is > >plugin-parent-1.0 referred to in the other developers plugin? > > I'll check further into that; I've only written one plugin myself, a > while ago, and at the time, I don't think plugin-parent had been > introduced. Then when I found that in JIRA, I didn't spend as long as > perhaps I should have trying to figure out what's going on with with > this local plugin because that sounded like a more global problem. > > He seems to be extending a slightly modified copy of a plugin-parent > project.xml, probably coping from maven-plugins in CVS. I'm not > quite following the process that causes his plugin to look for > plugin-parent. > > I fiddled around a bit and took the suggestion from MAVEN-1262 of > putting "<project />" in a plugin.jelly file in plugin-parent, and I > think I've got things kind of working. At least, I'm not getting > that error any more. > > Thanks > Joe > > -- > Joe Germuska > [EMAIL PROTECTED] > http://blog.germuska.com > "Imagine if every Thursday your shoes exploded if you > tied them > the usual way. This happens to us all the time with computers, and > nobody thinks of complaining." > -- Jef Raskin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
