On Thu, Aug 04, 2011 at 04:05:10PM -0400, Mark H. Wood wrote: > Back to topic: I'm writing a plugin that needs access to the > project's properties. Nothing environmental is passed to a mojo, and > fishing through the Javadocs for static methods that look promising > has turned up nothing so far. What *should* I be reading?
Well, after more hours of fishing, it looks like people are cobbling this together by declaring a @readonly @parameter default-value="${project}" and calling getSomething() on the injected object. It seems to work, but is this officially documented anywhere? -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are smart.
pgpR2iBzAKZtv.pgp
Description: PGP signature