You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marcus Schulte (JIRA)" <ji...@codehaus.org> on 2007/01/09 10:00:21 UTC
[jira] Created: (MPLUGIN-27) CLONE -Generated Goal documentation
displays incorrect type for arrays
CLONE -Generated Goal documentation displays incorrect type for arrays
----------------------------------------------------------------------
Key: MPLUGIN-27
URL: http://jira.codehaus.org/browse/MPLUGIN-27
Project: Maven 2.x Plugin Plugin
Issue Type: Bug
Reporter: Marcus Schulte
Assigned To: Brett Porter
Priority: Minor
The site document generated to display specific goal information (site\Project Reports\Plugin documentation\<Individual Site>) does not correctly display the type for a parameter which is an array.
An example of this would be if a goal has a parameter defined like the example below:
/**
* @parameter expression="${vmArgs}"
*/
private String[] vmArgs;
the generated site displays the parameter as only having a type of "String". This is misleading since it should be type "String[]".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MPLUGIN-27) CLONE -Generated Goal documentation
displays incorrect type for arrays
Posted by "Marcus Schulte (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPLUGIN-27?page=comments#action_84458 ]
Marcus Schulte commented on MPLUGIN-27:
---------------------------------------
For another example see the docs of the assembly-Plugin:
http://maven.apache.org/plugins/maven-assembly-plugin/assembly-mojo.html#descriptors
or
http://maven.apache.org/plugins/maven-assembly-plugin/assembly-mojo.html#descriptorRefs
while the source is
/**
109 * A list of descriptor files to generate from.
110 *
111 * @parameter
112 */
113 private File[] descriptors;
114
115 /**
116 * A list of built-in descriptor references to generate from. You can select from <code>bin</code>,
117 * <code>jar-with-dependencies</code>, or <code>src</code>.
118 *
119 * @parameter
120 */
121 private String[] descriptorRefs;
> CLONE -Generated Goal documentation displays incorrect type for arrays
> ----------------------------------------------------------------------
>
> Key: MPLUGIN-27
> URL: http://jira.codehaus.org/browse/MPLUGIN-27
> Project: Maven 2.x Plugin Plugin
> Issue Type: Bug
> Reporter: Marcus Schulte
> Assigned To: Brett Porter
> Priority: Minor
>
> The site document generated to display specific goal information (site\Project Reports\Plugin documentation\<Individual Site>) does not correctly display the type for a parameter which is an array.
> An example of this would be if a goal has a parameter defined like the example below:
> /**
> * @parameter expression="${vmArgs}"
> */
> private String[] vmArgs;
> the generated site displays the parameter as only having a type of "String". This is misleading since it should be type "String[]".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira