Maven use

Maven is one of the easiest ways to include DJUNITS in a Java project. The Maven files for DJUNITS reside at When a POM-file is created for the project, the following snippet needs to be included to include DJUNITS:

  ... other dependencies of your project go here ...

Of course, the version number (4.01.03 in the above example) needs to be replaced with the version that one wants to include in the project.

Currently, the DJUNITS files are stored on a server at TU Delft, and are not yet made available on Maven Central. Therefore, the repository location has to be specified separately in the Maven POM-file:

    <name>djunits Public Repository</name>
  ... other repositories used by your project go here ...


DJUNITS is directly dependent on two packages, which have no further dependencies:

  • ojalgo for vector and matrix calculations. ojAlgo has no further dependencies.
  • jakarta.annotation for manipulating annotations using java versions later than Java-8

If the DJUNITS library is used as a part of a Maven project, all dependencies will be automatically resolved, and the programmer / user does not have to worry about finding the libraries.

SVN Location

Source code can be checked out as an anonymous user from The trunk with the current project (might be unstable) is at Releases can be found at