Re: How to get nice doc for a bean-ie sort of Mojo parameter

2011-12-13 Thread Manfred Moser
Hi! It was great seeing that others have the same problem with complex objects for Maven configuration and the generated documentation. For the android maven plugin http://code.google.com/p/maven-android-plugin/ I have derived a bit of a standard on how we deal with this and we have implement

Re: How to get nice doc for a bean-ie sort of Mojo parameter

2011-12-12 Thread Mirko Friedenhagen
+2048 ;-) Regards Mirko -- Sent from my phone http://illegalstateexception.blogspot.com http://github.com/mfriedenhagen/ https://bitbucket.org/mfriedenhagen/ On Dec 12, 2011 3:49 AM, "Jesse Farinacci" wrote: > On Sun, Dec 11, 2011 at 9:47 PM, Benson Margulies > wrote: > > This is something tha

Re: How to get nice doc for a bean-ie sort of Mojo parameter

2011-12-11 Thread Brett Porter
I think this was leveraging plexus' implementation, so probably now in sisu. There's no reason that still needs to be the case, if you want to expand it but retain backwards compatibility you should be able to. The place to look is getConfiguredMojo and populatePluginFields in maven-core/src/ma

Re: How to get nice doc for a bean-ie sort of Mojo parameter

2011-12-11 Thread Brett Porter
Yep, completely agree! On 12/12/2011, at 1:47 PM, Benson Margulies wrote: > This is something that frustrates users no end: when a plugin has a > parameter of complex type, and the doc does not elucidate the > structure of the complex doc At All. > > On Sun, Dec 11, 2011 at 8:55 PM, Brett Porter

Re: How to get nice doc for a bean-ie sort of Mojo parameter

2011-12-11 Thread Benson Margulies
Reading this doc some more, I'm really sad to read that the 'complex type' mechanism doesn't just use the type of the parameter declaration, but rather insists on mapping the element name to a type. I don't suppose there's any chance that this doc is old news? Where does this code live, anyhow?

Re: How to get nice doc for a bean-ie sort of Mojo parameter

2011-12-11 Thread Jesse Farinacci
On Sun, Dec 11, 2011 at 9:47 PM, Benson Margulies wrote: > This is something that frustrates users no end: when a plugin has a > parameter of complex type, and the doc does not elucidate the > structure of the complex doc At All. +1024 -Jesse -- There are 10 types of people in this world, thos

Re: How to get nice doc for a bean-ie sort of Mojo parameter

2011-12-11 Thread Benson Margulies
This is something that frustrates users no end: when a plugin has a parameter of complex type, and the doc does not elucidate the structure of the complex doc At All. On Sun, Dec 11, 2011 at 8:55 PM, Brett Porter wrote: > > On 12/12/2011, at 9:12 AM, Benson Margulies wrote: > >> Looking at >> ht

Re: How to get nice doc for a bean-ie sort of Mojo parameter

2011-12-11 Thread Brett Porter
On 12/12/2011, at 9:12 AM, Benson Margulies wrote: > Looking at > http://maven.apache.org/guides/mini/guide-configuring-plugins.html#Mapping_Complex_Objects, > I'm wondering how to get the generated doc to travel down into the > bean object. This isn't a job for modello, is it? Not really - mo

How to get nice doc for a bean-ie sort of Mojo parameter

2011-12-11 Thread Benson Margulies
Looking at http://maven.apache.org/guides/mini/guide-configuring-plugins.html#Mapping_Complex_Objects, I'm wondering how to get the generated doc to travel down into the bean object. This isn't a job for modello, is it? - To uns