Thanks for the response Edwin :) So I'm assuming that there is no universal way for looking up the property set for any given Object type parameter?
If I wanted to know what parameters I could give to MavenProjectHelper for example, I'd have to try to find the Javadoc and look at it's JavaBean style properties? http://maven.apache.org/ref/current/maven-project/apidocs/org/apache/maven/p roject/MavenProject.html Of course, I assume this would be a bit of trial and error as well, since not all setXXX() methods would be guaranteed to be mapped to a config parameter? Dave -----Original Message----- From: Edwin Punzalan [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 10:20 PM To: Maven Users List Subject: Re: Where to find reference documentation for parameter Types? Dave, I'll tell you what I know... to others, if i'm wrong, please correct me. ^_^ Native parameters are common-sense, so I won't describe them anymore. For collection types, like List, removing the s at the parameter name would be filling the collection. For example: <files> <file/> <file/> </files> Also, in your example, the Artifact object is the parameter "type". When a parameter is of type "Object" (or subclasses it), then it can accept sub parameters equivalent to its field names (i'm not sure though if the fields have to have a setter method). And the same is true if the sub-parameter is still an object. Like so: <house> <door> <color>white</color> </door> <window> <color>white</color> </window> </house> Dave Comeau wrote: > Just a question how about how to effectively read plugin documentation. > > On this page: > > http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html > > The "Type" column indicates three different types: Artifact, MavenProject > and MavenProjectHelper. > > How do I find out what the format of those types are? > > For example, if I look at the "How to use" link for the same plugin: > > http://mojo.codehaus.org/build-helper-maven-plugin/howto.html > > Go to the bottom and see that the attach-artifact example shows: > > <configuration> > <artifacts> > <artifact> > <file>some file</file> > <type>extension of your file </type> > <classifier>optional<classifier> > </artifact> > ... > </artifacts> > </configuration> > > > I assume somewhere I can find a reference that would tell me that Artifact > types have the File/Type/Classifier sub-parameters? > > Where would this be? > > Dave > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]