Sample Projects (original) (raw)
Sample Projects
What are sample projects?
Sample projects are small projects which demonstrate different aspects of schema compilation.
Sample projects are standalone Maven projects which are very easy to try out and experiment with. Just download-unzip-build, no strings attached.
Sample projects are automatically prepared and tested as a part of the release build process so we know they work.
These projects are distributed in form of the zip
files, attached to every release.
Available sample projects
- Basic project
- Compiling DTD
- Using JAXB plugins
- Using episodes (also known as separate schema compilation)
- Using catalogs
- Modular schema compilation
How to use sample projects
- Download a
zip
file of the sample project from releases. - Unzip.
mvn clean install
- Study
pom.xml
files for implementation details.
How NOT to use sample projects
This is a warning.
If you just want to run a sample project to see how certain aspect of the schema compilation works, follow the instructions above. That is: download, unzip, run Maven, study pom.xml
s. Do not checkout/build the samplesmodules, this is most probably not what you expect. These modules only prepare and test zip
s of sample projects, this is probably not what you wanted.