https://github.com/ovirt/ovirt-engine-sdk-java
The oVirt Java SDK
https://github.com/ovirt/ovirt-engine-sdk-java
java
Last synced: about 1 year ago
JSON representation
The oVirt Java SDK
- Host: GitHub
- URL: https://github.com/ovirt/ovirt-engine-sdk-java
- Owner: oVirt
- Created: 2012-11-29T09:26:57.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-06-20T16:24:28.000Z (about 2 years ago)
- Last Synced: 2025-03-25T05:34:10.453Z (over 1 year ago)
- Topics: java
- Language: Java
- Homepage:
- Size: 3.6 MB
- Stars: 25
- Watchers: 18
- Forks: 20
- Open Issues: 6
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= oVirt Java SDK
image:https://copr.fedorainfracloud.org/coprs/ovirt/ovirt-master-snapshot/package/java-ovirt-engine-sdk4/status_image/last_build.png[link="https://copr.fedorainfracloud.org/coprs/ovirt/ovirt-master-snapshot/package/java-ovirt-engine-sdk4/"]
== TODO
Update the project so it can be built in a standard way using xmvn
== Introduction
The oVirt Java SDK is a Java package that simplifies access to the
oVirt Engine API.
== Building
Most of the source code of the Java SDK is automatically generated
from the API model.
The code generator is a Java program that resides in the `generator`
directory. This Java program will get the API model and the metamodel
artifacts from the available Maven repositories. To build and run it use
the following commands:
$ git clone git://gerrit.ovirt.org/ovirt-engine-sdk-java
$ mvn package
This will build the code generator and run it to generate the SDK for
the version of the API that corresponds to the branch of the SDK that
you are using.
If you need to generate it for a different version of the API then you
can use the `model.version` property. For example, if you need to
generate the SDK for version `4.1.0` of the SDK you can use this
command:
$ mvn package -Dmodel.version=4.1.0
Once the source code is generated, it needs to be built:
$ cd sdk
$ mvn clean install
The generated `.jar` files will be located in the `sdk/target`
directory:
$ find target -name '*.jar'
target/ovirt-engine-sdk-4.0.0-SNAPSHOT.jar