Mirror of mvn-scalaxb directory in eed3si9n/scalaxb
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
LICENSE
README.md
install
pom.xml
publish

README.md

scalaxb Maven Plugin

This is the maven plugin for invoking scalaxb as part of a maven build. By default, it binds to the generate-sources phase of the build lifecycle, allowing Scala sources to be generated from XSD files, and subsequently included in the rest of the build.

User documentation

Building

To build with integration tests:

mvn install -Pit

To build without integration tests, simply:

mvn install

Publishing

To deploy to Sonatype OSS repository hosting, run the publish script.

  • Check the version in the pom.xml.
  • Run `./publish'.
  • Enter credentials for Sonatype Nexus instance.
  • Update the version in the pom.xml to the next snapshot version after publishing a release.

Further documentation is included at the top of the publish script.

Examples

The easiest way to see an example project that uses the scalaxb maven plugin is to run the integration tests (as above, or using mvn verify -Pit) and see integration test projects that have been built in subdirectories of target/it/.