Maven 1.x Castor Plugin

Add support for the 'nodesc' option

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

At present the 'nodesc' option is not supported on the 'castor:generate' maven tag. This functionality could be added relatively easily by including the following snippet on line 110 of plugin.jelly:

<j:if test="${!empty(nodesc) and !nodesc.trim().equals('false')}">
<ant:arg value="-nodesc"/>
</j:if>

Adding the script above would enable the nodesc function as shown in the following example:

<castor:generate
schema="example.xsd"
package="org.castor"
types="j2"
marshal="false"
nodesc="true"/>

Activity

There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    johnstok
Vote (0)
Watch (1)

Dates

  • Created:
    Updated:

Time Tracking

Estimated:
30m
Original Estimate - 30 minutes
Remaining:
30m
Remaining Estimate - 30 minutes
Logged:
Not Specified
Time Spent - Not Specified