Skip to content
Tilmann edited this page Oct 28, 2013 · 14 revisions

How to set-up maven dependencies

ode4j consistes of several maven artifacts.

The core artifacts contains the complete physics engine:

<dependency>
    <groupId>org.ode4j</groupId>
    <artifactId>core</artifactId>
    <version>0.2.6</version>
</dependency>

If you also want the tests, demos or C-style wrapper, you get the complete project with:

<dependency>
    <groupId>org.ode4j</groupId>
    <artifactId>parent</artifactId>
    <version>0.2.6</version>
</dependency>

This parent artifact contains the following sub-artifacts:

  • core: The physics core.
  • demo: The demos.
  • core-cpp: A C-style wrapper around the core. This resembles the API of the original ODE library. This can be useful when migrating code from C\C++ to java.
  • demo-cpp: Same as demos, but based on the core-cpp API.

Note that the demos have dependencies on lwjgl and junit.

Clone this wiki locally