You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/04 13:43:46 UTC
[jira] Commented: (MPPLUGIN-21) Autogenerate plugin.properties and properties documentation
The following comment has been added to this issue:
Author: Carlos Sanchez
Created: Sun, 4 Jul 2004 7:43 AM
Body:
Forgot to add test-generate-properties to testPlugin goal
<goal name="testPlugin" prereqs="test-generate-docs, test-generate-properties">
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPPLUGIN-21?page=comments#action_21356
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPPLUGIN-21
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPPLUGIN-21
Summary: Autogenerate plugin.properties and properties documentation
Type: New Feature
Status: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-plugin-plugin
Assignee: Carlos Sanchez
Reporter: Carlos Sanchez
Created: Thu, 1 Jul 2004 5:43 AM
Updated: Sun, 4 Jul 2004 7:43 AM
Description:
As sent to the developer list this is a suggestion of how to create and document plugin properties easier.
- Create an xml file called plugin-properties.xml
In the plugin project:
- Process it to generate the properties.xml xdoc using <report>maven-plugin-plugin</report>
- Process it to generate the plugin.properties file (goal plugin:generate-properties), maybe in the future there will be support for reading properties directly from it.
Just one issue, I wasn't able to add a newline character in a jsl file:
<jsl:template match="property">
<j:set var="name"><x:expr select="@name"/></j:set>
<j:set var="default"><x:expr select="@default"/></j:set>
${name}=${default}<!-- Here there should be a newline -->
</jsl:template>
Examples:
The base file
http://maven.apache.org/reference/plugins/aspectj/plugin-properties.xml
The generated documentation
http://maven.apache.org/reference/plugins/aspectj/properties.html
The DTD
http://maven.apache.org/reference/plugins/aspectj/plugin_properties_1_0.dtd
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org