On Sat, Aug 06, 2011 at 03:08:34PM +0200, Baptiste MATHUS wrote: > Well, you were in the right place. > http://maven.apache.org/guides/plugin/guide-java-plugin-development.html > What are you missing?
Any indication of what one should put into the default-value to get a handle on the mojo's entire environment. Any indication of what type one will receive when doing so, so that one can go look at the API doc.s and see what methods and attributes are available. > As often today in programming, Maven mojo gets "external" property via > dependency injection. > > That is, just declare your attribute with the right @parameter expression > settings and your field will just get -DyourParam injected. Since I'm writing a mojo to filter any available properties into a file being built, I need an array or collection of *all* project properties, so I need to go to the model and get what it has. -- Mark H. Wood, Lead System Programmer [email protected] Asking whether markets are efficient is like asking whether people are smart.
pgp7qeuEpUSU4.pgp
Description: PGP signature
