[
https://jira.codehaus.org/browse/MJAXB-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=285250#comment-285250
]
Robert Scholte commented on MJAXB-55:
-------------------------------------
I've already patched some parts which already improve current code.
The name {{schemas}} is misleading, it should be something like
{{transformSchemas}}.
I think we should rename 2 properties from the Schema-class: change {{file}} to
{{toFile}} and {{prefix}} to {{toPrefix}} to make it clear these are the output
parameters.
The staleSourceScanner now doesn't work anymore for these schema's. I'd really
prefer to keep does original files for 2 reasons: easy staleSource detection
and just to be sure the plugin didn't broke the files.
> Provide means to set the file name of generated XML schema
> ----------------------------------------------------------
>
> Key: MJAXB-55
> URL: https://jira.codehaus.org/browse/MJAXB-55
> Project: Maven 2.x JAXB 2.1 Plugin
> Issue Type: New Feature
> Affects Versions: 1.3.1
> Environment: All
> Reporter: Lennart Jörelid
> Assignee: Robert Scholte
> Attachments: diagramAdditions_1.png, fileRenamePatch_v10.txt
>
>
> AbstractSchemagenMojo sneakily hard-codes the resulting filename for the
> generated schema file.
> This should really be configurable; provided a parameter to set the resulting
> file name, as well as an integration test.
> For reasons of somewhat misguided backwards compatibility, I set the default
> value of the parameter to its currently hardcoded value, "schema1.xsd".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email