Skip to content

Commit

Permalink
Fixed some documentation.
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/tiste/MOJOHAUS-TO-GIT/SVN-MOJO-WIP/trunk/mojo/jaxb2-maven-plugin@20401 52ab4f32-60fc-0310-b215-8acea882cd1b
  • Loading branch information
lennartj committed Feb 9, 2015
1 parent 0d3643b commit 3e52074
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 7 additions & 0 deletions src/site/fml/faq.fml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
as the ability to define a schema prefix and filename for each generated XML schema.</p>
</answer>
</faq>
<faq id="LogMessages">
<question>How can I see the log messages output by the schemagen tool?</question>
<answer>
<p>Run the jaxb2-maven-plugin in debug mode to see logging from the schemagen tool.
Please refer to the examples for further information.</p>
</answer>
</faq>
<faq id="SeveralGeneratedSchemaFiles">
<question>How do generated XML schema files correlate to annotated java files?</question>
<answer>
Expand Down
7 changes: 4 additions & 3 deletions src/site/markdown/example_schemagen_basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ for each of its "java files" arguments:
</tr>
</table>

Note, however, that schemagen does not accept a mix of source and bytecode arguments as "java files".
The jaxb2-maven-plugin ensures that any sources added to the schemagen goals adheres to the criteria
defined in the table above.
**Note**: `schemagen` does not accept a mix of source and bytecode arguments as "java files".
While the jaxb2-maven-plugin ensures that any sources added to the schemagen goals adheres to
the criteria defined in the table above, it would lead too far to let the plugin validate that
the user does not supply a mix of java source and bytecode files as arguments.

## Recommended JAXB Annotations for XSD generation

Expand Down

0 comments on commit 3e52074

Please sign in to comment.