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]

Reply via email to