[ 
https://jira.codehaus.org/browse/MJAXB-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=284234#comment-284234
 ] 

Lennart Jörelid edited comment on MJAXB-55 at 11/25/11 4:07 AM:
----------------------------------------------------------------

Added it/mjaxb-55-partialdefaults to validate that default values for optional 
configuration properties are treated correctly.
Re-added some files which went missing in the former diff/patch version. 
Moreover, since one of the documentation files was renamed, you will need to 
hit 'y' at the patch prompt:

{code}
...
patching file src/site/apt/index.apt.vm
The next patch would delete the file src/site/apt/usage_xjc.apt.vm,
which does not exist!  Assume -R? [n] y
patching file src/site/apt/usage_xjc.apt.vm
...
{code}

The patch still works correctly, yielding a working plugin build:

{code}
...
[INFO] Building: mjaxb-55/pom.xml
[INFO] ..SUCCESS (5.1 s)
[INFO] Building: mjaxb-55-partialdefaults/pom.xml
[INFO] ..SUCCESS (5.1 s)
[INFO] Building: schemagen-main/pom.xml
[INFO] ..SUCCESS (4.9 s)
[INFO] Building: schemagen-test/pom.xml
[INFO] ..SUCCESS (4.9 s)
[INFO] Building: xjc-multiple-xsd-specified/pom.xml
[INFO] ..SUCCESS (6.1 s)
[INFO] ---------------------------------------
[INFO] Execution Summary:
[INFO]   Builds Passing: 13
[INFO]   Builds Failing: 0
[INFO]   Builds Skipped: 0
[INFO] ---------------------------------------
...
{code}

      was (Author: [email protected]):
    Added it/mjaxb-55-partialdefaults to validate that default values for 
optional configuration properties are treated correctly.

Also re-added some files which went missing in the former diff/patch version.
  
> 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: Anders Hammar
>         Attachments: fileRenamePatch_v5.diff, siteImages.tar.gz
>
>
> 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


Reply via email to