Downloads the OJP XSD files from https://github.com/VDVde/OJP and generates java model using jaxb.
You need xmlstarlet installed.
mvn clean install
This project is available in the central maven repository, see https://central.sonatype.com/artifact/org.opentripplanner/ojp-java-model
For example, to use this in a Maven project use:
<dependency>
<groupId>org.opentripplanner</groupId>
<artifactId>ojp-java-model</artifactId>
<version>2.0.2</version>
</dependency>