This directory contains the files for the XML schema of the entities and the
RSDL used by the code generator. To regenerate the SDK download them from a
live engine as follows:

  $ mvn validate -Pupdate-metadata \
  -Dapi.url="https://localhost/ovirt-engine/api" \
  -Dapi.user="admin@internal" \
  -Dapi.password="letmein!" 

This will use the wget command to download the files, so make sure you have
it installed.

The api.url, api.user and api.password properties are optional, and their
default values are as in the above example. If you are going to use this
frequently it may be convenient to put them in your ~/.m2/settins.xml file,
something like this:

  <settings
    xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">

    <activeProfiles>
      <activeProfile>api</activeProfile>
    </activeProfiles>

    <profiles>
      <profile>
        <id>api</id>
        <properties>
          <api.url>https://localhost/ovirt-engine/api</api.url>
          <api.user>admin@internal</api.user>
          <api.password>mypass</api.password>
        </properties>
      </profile>
    </profiles>

  </settings>

If you do this then to download the files just run this:

  $ mvn validate -Pupdate-metadata

After downloading the files make sure to update them in the source code
repository.
