Maven use

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

<dependencies>
  <dependency>
    <groupId>org.sim0mq</groupId>
    <artifactId>sim0mq</artifactId>
    <version>0.02.00</version>
  </dependency>
</dependencies>

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

Right now, the SIM0MQ files are kept 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:

<repositories>
  <repository>
    <name>sim0mq Public Repository</name>
    <id>sim0mq</id>
    <url>http://sim0mq.org/maven</url>
  </repository>
</repositories>

Dependencies

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

If the SIM0MQ 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.