<project 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/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>opentrafficsim</groupId>
  <artifactId>ots-base</artifactId>
  <version>0.10.00</version>
  <packaging>pom</packaging>

  <name>OpenTrafficSim base project</name>
  <description>Settings and base definitions for the OpenTrafficSim project</description>
  <url>www.opentrafficsim.org</url>

  <organization>
    <name>Delft University of Technology</name>
    <url>www.opentrafficsim.org</url>
  </organization>

  <inceptionYear>2014</inceptionYear>

  <profiles>
    <!-- select profiles with -P option, e.g. "mvn install -P all" -->
    <profile>
      <id>all</id>
      <activation>
        <property>
          <name>all</name>
        </property>
      </activation>
      <modules>
        <module>../ots-core</module>
        <module>../ots-road</module>
        <module>../ots-rail</module>
        <module>../ots-water</module>
        <module>../ots-demo</module>
        <module>../ots-imb</module>
        <module>../ots-parser-opendrive</module>
        <module>../ots-parser-osm</module>
        <module>../ots-parser-shape</module>
        <module>../ots-parser-vissim</module>
      </modules>
    </profile>
  </profiles>

  <properties>
    <jdk.version>1.8</jdk.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

    <sonar.scm.disabled>true</sonar.scm.disabled>

    <ots.version>${project.version}</ots.version>
    <djunits.version>1.03.01</djunits.version>
    <dsol.version>3.00.20</dsol.version>
    <junit.version>4.11</junit.version>
    <java3d.version>1.5.1</java3d.version>
    <geotools.version>12.0</geotools.version>
    <osmosis.version>0.43.1</osmosis.version>
    <jfreechart.version>1.0.17</jfreechart.version>
    <xml-apis.version>1.4.01</xml-apis.version>
    <apache.poi.version>3.8</apache.poi.version>
    <jgrapht.version>0.9.0</jgrapht.version>
    <multislider.version>1.0</multislider.version>
    <ojalgo.version>38.2</ojalgo.version>
    <osm.version>0.43.1</osm.version>
    <findbugs.version>3.0.1u2</findbugs.version>

    <maven.compiler.version>3.3</maven.compiler.version>
    <maven.site.version>3.4</maven.site.version>
    <maven.deploy.version>2.8.2</maven.deploy.version>
    <maven.install.version>2.5.2</maven.install.version>
    <maven.source.version>2.4</maven.source.version>
    <maven.javadoc.version>2.10.3</maven.javadoc.version>
    <maven.checkstyle.version>2.16</maven.checkstyle.version>
    <maven.surefire.version>2.18.1</maven.surefire.version>
    <maven.surefire-report.version>2.18.1</maven.surefire-report.version>
    <maven.failsafe.version>2.18.1</maven.failsafe.version>
    <!-- maven.cobertura.version>2.7</maven.cobertura.version -->
    <maven.jacoco.version>0.7.5.201505241946</maven.jacoco.version>
    <maven.findbugs.version>3.0.1</maven.findbugs.version>
    <maven.project-info-reports.version>2.8.1</maven.project-info-reports.version>
    <maven.jxr.version>2.5</maven.jxr.version>
    <maven.taglist.version>2.4</maven.taglist.version>
    <maven.pmd.version>3.6</maven.pmd.version>
    <maven.changes.version>2.11</maven.changes.version>
    <wagon.maven.version>1.0</wagon.maven.version>
    <wagon.ssh.version>2.10</wagon.ssh.version>
    <wagon.ftp.version>2.10</wagon.ftp.version>
    <!-- codehaus.javancss.version>2.1</codehaus.javancss.version -->
    <codehaus.jdepend.version>2.0</codehaus.jdepend.version>

  </properties>


  <!-- Build Settings -->

  <build>
    <directory>target</directory>
    <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
    <testSourceDirectory>${basedir}/src/test/java</testSourceDirectory>
    <outputDirectory>${basedir}/target/classes</outputDirectory>
    <testOutputDirectory> ${basedir}/target/test-classes</testOutputDirectory>
    <resources>
      <resource>
        <directory>${basedir}/src/main/resources</directory>
      </resource>
    </resources>
    <testResources>
      <testResource>
        <directory>${basedir}/src/main/resources</directory>
      </testResource>
      <testResource>
        <directory>${basedir}/src/test/resources</directory>
      </testResource>
      <testResource>
        <directory>${basedir}/src/test/java/org/opentrafficsim/core/network/factory/*.xml</directory>
      </testResource>
    </testResources>

    <extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-ssh</artifactId>
        <version>${wagon.ssh.version}</version>
      </extension>

      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-ftp</artifactId>
        <version>${wagon.ftp.version}</version>
      </extension>

    </extensions>

    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>${maven.compiler.version}</version>
        <configuration>
          <source>${jdk.version}</source>
          <target>${jdk.version}</target>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>${maven.site.version}</version>
        <configuration>
          <chmod>true</chmod>
          <inputEncoding>UTF-8</inputEncoding>
          <outputEncoding>UTF-8</outputEncoding>
          <templateDirectory>src/site</templateDirectory>
          <template>site.vm</template>
        </configuration>
        <executions>
          <execution>
            <id>attach-descriptor</id>
            <goals>
              <goal>attach-descriptor</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-deploy-plugin</artifactId>
        <version>${maven.deploy.version}</version>
      </plugin>

      <!-- copy files starting with a period in the jacoco folder to the right site location. Normally, files starting with 
        tilde, period or underscore are not copied. These files are also not taken into account when trying to the pages in a subfolder 
        of a Drupal sile, as files and folders starting with a period are filtered with a rewrite rule: 
          RewriteRule "(^|/)\." - [F] 
        To undo this rewrite rule, add a .htaccess file in the site folder with as content: 
          RewriteRule "(^|/)\." - [L] 
        Potentially, there is also a line with Options +Indexes in the .htaccess file. -->
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>wagon-maven-plugin</artifactId>
        <version>${wagon.maven.version}</version>
        <executions>

          <execution>
            <id>upload-jacoco-dot-files</id>
            <phase>site-deploy</phase>
            <goals>
              <goal>upload</goal>
            </goals>
            <configuration>
              <fromDir>${basedir}/target/site/jacoco-ut</fromDir>
              <includes>.*, .resources/*</includes>
              <url>scp://opentrafficsim.org/home/web/opentrafficsim.org/docs/${ots.version}/${project.artifactId}</url>
              <toDir>jacoco-ut</toDir>
              <serverId>ots-deployment</serverId>
            </configuration>
          </execution>

          <execution>
            <id>upload-license</id>
            <phase>deploy</phase>
            <goals>
              <goal>upload</goal>
            </goals>
            <configuration>
              <fromDir>${basedir}/src/main/resources</fromDir>
              <includes>license.html</includes>
              <url>scp://opentrafficsim.org/home/web/opentrafficsim.org</url>
              <toDir>docs</toDir>
              <serverId>ots-deployment</serverId>
            </configuration>
          </execution>

          <execution>
            <id>upload-last-site</id>
            <phase>site-deploy</phase>
            <goals>
              <goal>sshexec</goal>
            </goals>
            <configuration>
              <url>scp://opentrafficsim.org/home/web/opentrafficsim.org</url>
              <serverId>ots-deployment</serverId>
              <commands>
                <command>rm -r -f /home/web/opentrafficsim.org/docs/current</command>
                <command>mkdir -p /home/web/opentrafficsim.org/docs/current</command>
                <command>cp -r -f /home/web/opentrafficsim.org/docs/${project.version}/. /home/web/opentrafficsim.org/docs/current</command>
              </commands>
            </configuration>
          </execution>

        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-install-plugin</artifactId>
        <version>${maven.install.version}</version>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <version>${maven.source.version}</version>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${maven.javadoc.version}</version>
        <configuration>
          <links>
            <link>http://download.oracle.com/javase/7/docs/api/</link>
            <link>http://download.java.net/media/java3d/javadoc/1.5.0/</link>
            <link>http://www.jfree.org/jcommon/api/</link>
            <link>http://www.jfree.org/jfreechart/api/javadoc/</link>
            <link>http://junit.sourceforge.net/javadoc/</link>
            <link>http://xerces.apache.org/xerces2-j/javadocs/api/</link>
            <link>http://www.jdom.org/docs/apidocs/</link>
            <link>http://simulation.tudelft.nl/dsol/3.0/dsol-base/apidocs/</link>
            <link>http://simulation.tudelft.nl/dsol/3.0/dsol-core/apidocs/</link>
            <link>http://simulation.tudelft.nl/dsol/3.0/dsol-swing/apidocs/</link>
          </links>
          <additionalJOption>-J-Xmx1024m</additionalJOption>
          <detectJavaApiLink>true</detectJavaApiLink>
          <detectLinks>false</detectLinks>
          <detectOfflineLinks>true</detectOfflineLinks>
          <show>package</show>
        </configuration>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>${maven.checkstyle.version}</version>
        <dependencies>
          <dependency>
            <groupId>opentrafficsim</groupId>
            <artifactId>ots-build-tools</artifactId>
            <version>${ots.version}</version>
          </dependency>
        </dependencies>
      </plugin>

      <!-- plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <version>${maven.cobertura.version}</version>
        <executions>
          <execution>
            <goals>
              <goal>instrument</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <argLine>-XX:MaxPermSize=4096m
            -Xmx4096m</argLine>
        </configuration>
      </plugin -->

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>${maven.surefire.version}</version>
        <configuration>
          <!-- Sets the VM argument line used when unit tests are run. -->
          <argLine>${surefireArgLine}</argLine>
          <!-- Skips unit tests if the value of skip.unit.tests property is true -->
          <skipTests>${skip.unit.tests}</skipTests>
          <!-- Excludes integration tests when unit tests are run. -->
          <excludes>
            <exclude>**/IT*.java</exclude>
          </excludes>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-failsafe-plugin</artifactId>
        <version>${maven.failsafe.version}</version>
        <executions>
          <!-- Ensures that both integration-test and verify goals of the Failsafe Maven plugin are executed. -->
          <execution>
            <id>integration-tests</id>
            <goals>
              <goal>integration-test</goal>
              <goal>verify</goal>
            </goals>
            <configuration>
              <!-- Sets the VM argument line used when integration tests are run. -->
              <argLine>${failsafeArgLine}</argLine>
              <!-- Skips integration tests if the value of skip.integration.tests property is true -->
              <skipTests>${skip.integration.tests}</skipTests>
            </configuration>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
        <version>${maven.jacoco.version}</version>
        <executions>

          <!-- Prepares the property pointing to the JaCoCo runtime agent which is passed as VM argument when Maven the Surefire 
            plugin is executed. -->
          <execution>
            <id>pre-unit-test</id>
            <phase>pre-integration-test</phase>
            <goals>
              <goal>prepare-agent</goal>
            </goals>
            <configuration>
              <!-- Sets the path to the file which contains the execution data. -->
              <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
              <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
              <propertyName>surefireArgLine</propertyName>
            </configuration>
          </execution>

          <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
          <execution>
            <id>post-unit-test</id>
            <phase>test</phase>
            <goals>
              <goal>report</goal>
            </goals>
            <configuration>
              <!-- Sets the path to the file which contains the execution data. -->
              <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
              <!-- Sets the output directory for the code coverage report. -->
              <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
            </configuration>
          </execution>

        </executions>
      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>${maven.findbugs.version}</version>
        <executions>
          <execution>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <failOnError>false</failOnError>
        </configuration>
      </plugin>

      <plugin> <!-- to avoid BCEL compatibility issue with Java 1.8... -->
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>${maven.project-info-reports.version}</version>
        <dependencies>
          <dependency>
            <groupId>org.apache.maven.shared</groupId>
            <artifactId>maven-shared-jar</artifactId>
            <version>1.1</version>
            <exclusions>
              <exclusion>
                <groupId>org.apache.bcel</groupId>
                <artifactId>bcel</artifactId>
              </exclusion>
            </exclusions>
          </dependency>
          <dependency>
            <groupId>com.google.code.findbugs</groupId>
            <artifactId>bcel-findbugs</artifactId>
            <version>6.0</version>
          </dependency>
        </dependencies>
      </plugin> <!-- end avoid BCEL compatibility issue with Java 1.8... -->

    </plugins>

  </build>

  <reporting>
    <outputDirectory>${basedir}/target/site</outputDirectory>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>${maven.project-info-reports.version}</version>
        <configuration>
          <dependencyDetailsEnabled>true</dependencyDetailsEnabled>
          <dependencyLocationsEnabled>true</dependencyLocationsEnabled>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
              <report>index</report>
              <report>summary</report>
              <report>dependencies</report>
              <report>project-team</report>
              <report>mailing-list</report>
              <report>license</report>
              <report>scm</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>${maven.javadoc.version}</version>
        <configuration>
          <detectLinks>false</detectLinks>
          <detectOfflineLinks>true</detectOfflineLinks>
          <show>package</show>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
              <report>javadoc</report>
            </reports>
          </reportSet>
          <reportSet>
            <id>test-html</id>
            <reports>
              <report>test-javadoc</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jxr-plugin</artifactId>
        <version>${maven.jxr.version}</version>
        <configuration>
          <skipEmptyReport>false</skipEmptyReport>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>${maven.checkstyle.version}</version>
        <configuration>
          <configLocation>development/dsol-checks.xml</configLocation>
          <suppressionsLocation>development/checkstyle_suppressions.xml</suppressionsLocation>
          <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
        </configuration>
        <reportSets>
          <reportSet>
            <configuration>
              <enableRulesSummary>true</enableRulesSummary>
            </configuration>
            <reports>
              <report>checkstyle</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>${maven.surefire-report.version}</version>
        <configuration>
          <argLine>-XX:MaxPermSize=4096m -Xmx4096m</argLine>
        </configuration>
      </plugin>

      <!-- Cobertura test coverage report -->
      <!-- plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>cobertura-maven-plugin</artifactId>
        <version>${maven.cobertura.version}</version>
      </plugin -->

      <plugin>
        <groupId>org.jacoco</groupId>
        <artifactId>jacoco-maven-plugin</artifactId>
        <version>${maven.jacoco.version}</version>
        <configuration>
          <skipEmptyReport>false</skipEmptyReport>
        </configuration>
        <reportSets>
          <reportSet>
            <inherited>true</inherited>
            <reports>
              <report>report</report>
            </reports>
            <configuration>
              <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
              <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
            </configuration>
          </reportSet>
          <!-- Turn this on when JaCoCo Integration tests are run. Otherwise, the unit test report is also not generated. -->
          <!-- reportSet -->
          <!-- inherited>true</inherited -->
          <!-- reports -->
          <!-- report>report</report -->
          <!-- /reports -->
          <!-- configuration -->
          <!-- dataFile>${project.build.directory}/coverage-reports/jacoco-it.exec</dataFile -->
          <!-- outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory -->
          <!-- /configuration -->
          <!-- /reportSet -->
        </reportSets>
      </plugin>

      <!-- to dos -->
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>taglist-maven-plugin</artifactId>
        <version>${maven.taglist.version}</version>
        <configuration>
          <tagListOptions>
            <tagClasses>
              <tagClass>
                <displayName>Open issues in the code</displayName>
                <tags>
                  <tag>
                    <matchString>TODO</matchString>
                    <matchType>exact</matchType>
                  </tag>
                  <tag>
                    <matchString>FIXME</matchString>
                    <matchType>exact</matchType>
                  </tag>
                  <tag>
                    <matchString>XXX</matchString>
                    <matchType>exact</matchType>
                  </tag>
                </tags>
              </tagClass>
            </tagClasses>
          </tagListOptions>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>${maven.findbugs.version}</version>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-pmd-plugin</artifactId>
        <version>${maven.pmd.version}</version>
        <configuration>
          <targetJdk>${jdk.version}</targetJdk>
          <skipEmptyReport>false</skipEmptyReport>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
        <version>${maven.changes.version}</version>
        <configuration>
          <escapeHTML>false</escapeHTML>
          <xmlPath>../ots-base/src/changes/changes.xml</xmlPath>
          <issueManagementSystems>
            <issueManagementSystem>jira</issueManagementSystem>
          </issueManagementSystems>
          <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
              <report>changes-report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>

      <!-- plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>javancss-maven-plugin</artifactId>
        <version>${codehaus.javancss.version}</version>
      </plugin -->

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jdepend-maven-plugin</artifactId>
        <version>${codehaus.jdepend.version}</version>
      </plugin>

      <!-- plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>2.6</version> 
        </plugin -->

    </plugins>
  </reporting>

  <!-- dependency versions for all projects -->

  <dependencyManagement>
    <dependencies>

      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>${junit.version}</version>
        <scope>test</scope>
        <optional>true</optional>
      </dependency>

      <dependency>
        <groupId>java3d</groupId>
        <artifactId>vecmath</artifactId>
        <version>${java3d.version}</version>
      </dependency>

      <dependency>
        <groupId>java3d</groupId>
        <artifactId>j3d-core</artifactId>
        <version>${java3d.version}</version>
      </dependency>

      <dependency>
        <groupId>org.djunits</groupId>
        <artifactId>djunits</artifactId>
        <version>${djunits.version}</version>
      </dependency>

      <dependency>
        <groupId>dsol</groupId>
        <artifactId>dsol-core</artifactId>
        <version>${dsol.version}</version>
      </dependency>

      <dependency>
        <groupId>opentrafficsim</groupId>
        <artifactId>ots-core</artifactId>
        <version>${ots.version}</version>
      </dependency>

      <dependency>
        <groupId>opentrafficsim</groupId>
        <artifactId>ots-road</artifactId>
        <version>${ots.version}</version>
      </dependency>

      <dependency>
        <groupId>opentrafficsim</groupId>
        <artifactId>ots-rail</artifactId>
        <version>${ots.version}</version>
      </dependency>

      <dependency>
        <groupId>opentrafficsim</groupId>
        <artifactId>ots-water</artifactId>
        <version>${ots.version}</version>
      </dependency>

      <dependency>
        <groupId>opentrafficsim</groupId>
        <artifactId>ots-parser-opendrive</artifactId>
        <version>${ots.version}</version>
      </dependency>

      <dependency>
        <groupId>opentrafficsim</groupId>
        <artifactId>ots-parser-osm</artifactId>
        <version>${ots.version}</version>
      </dependency>

      <dependency>
        <groupId>opentrafficsim</groupId>
        <artifactId>ots-parser-shape</artifactId>
        <version>${ots.version}</version>
      </dependency>

      <dependency>
        <groupId>opentrafficsim</groupId>
        <artifactId>ots-parser-vissim</artifactId>
        <version>${ots.version}</version>
      </dependency>

      <dependency>
        <groupId>opentrafficsim</groupId>
        <artifactId>ots-imb</artifactId>
        <version>${ots.version}</version>
      </dependency>

      <dependency>
        <groupId>org.jfree</groupId>
        <artifactId>jfreechart</artifactId>
        <version>${jfreechart.version}</version>
      </dependency>

      <dependency>
        <groupId>dsol</groupId>
        <artifactId>dsol-swing</artifactId>
        <version>${dsol.version}</version>
      </dependency>

      <dependency>
        <groupId>dsol</groupId>
        <artifactId>dsol-fx</artifactId>
        <version>${dsol.version}</version>
      </dependency>

      <dependency>
        <groupId>dsol</groupId>
        <artifactId>dsol-base</artifactId>
        <version>${dsol.version}</version>
      </dependency>

      <dependency>
        <groupId>dsol</groupId>
        <artifactId>dsol-web</artifactId>
        <version>${dsol.version}</version>
      </dependency>

      <dependency>
        <groupId>xml-apis</groupId>
        <artifactId>xml-apis</artifactId>
        <version>${xml-apis.version}</version>
      </dependency>

      <dependency>
        <groupId>org.geotools</groupId>
        <artifactId>gt-shapefile</artifactId>
        <version>${geotools.version}</version>
      </dependency>

      <dependency>
        <groupId>org.geotools</groupId>
        <artifactId>gt-main</artifactId>
        <version>${geotools.version}</version>
      </dependency>

      <dependency>
        <groupId>org.geotools</groupId>
        <artifactId>gt-api</artifactId>
        <version>${geotools.version}</version>
      </dependency>

      <dependency>
        <groupId>org.geotools</groupId>
        <artifactId>gt-swing</artifactId>
        <version>${geotools.version}</version>
      </dependency>

      <dependency>
        <groupId>org.geotools</groupId>
        <artifactId>gt-epsg-hsql</artifactId>
        <version>${geotools.version}</version>
      </dependency>

      <dependency>
        <groupId>org.apache.poi</groupId>
        <artifactId>poi</artifactId>
        <version>${apache.poi.version}</version>
      </dependency>

      <dependency>
        <groupId>org.apache.poi</groupId>
        <artifactId>poi-ooxml</artifactId>
        <version>${apache.poi.version}</version>
      </dependency>

      <dependency>
        <groupId>org.jgrapht</groupId>
        <artifactId>jgrapht-core</artifactId>
        <version>${jgrapht.version}</version>
      </dependency>

      <dependency>
        <groupId>org.jgrapht</groupId>
        <artifactId>jgrapht-ext</artifactId>
        <version>${jgrapht.version}</version>
      </dependency>

      <dependency>
        <groupId>com.bric</groupId>
        <artifactId>multislider</artifactId>
        <version>${multislider.version}</version>
      </dependency>

      <dependency>
        <groupId>org.ojalgo</groupId>
        <artifactId>ojalgo</artifactId>
        <version>${ojalgo.version}</version>
      </dependency>

      <dependency>
        <groupId>org.openstreetmap.osmosis</groupId>
        <artifactId>osmosis-core</artifactId>
        <version>${osm.version}</version>
      </dependency>

      <dependency>
        <groupId>org.openstreetmap.osmosis</groupId>
        <artifactId>osmosis-xml</artifactId>
        <version>${osm.version}</version>
      </dependency>

      <dependency>
        <groupId>org.openstreetmap.osmosis</groupId>
        <artifactId>osmosis-pbf</artifactId>
        <version>${osm.version}</version>
      </dependency>

      <dependency>
        <groupId>org.openstreetmap.osmosis</groupId>
        <artifactId>osmosis-osm-binary</artifactId>
        <version>${osm.version}</version>
      </dependency>

      <dependency>
        <groupId>com.google.code.findbugs</groupId>
        <artifactId>annotations</artifactId>
        <version>${findbugs.version}</version>
      </dependency>

    </dependencies>
  </dependencyManagement>

  <!-- More Project Information -->

  <repositories>
    <repository>
      <name>OTS Repository</name>
      <id>ots</id>
      <url>http://opentrafficsim.org/maven</url>
    </repository>

    <repository>
      <name>DSOL Public Repository</name>
      <id>dsol</id>
      <url>http://simulation.tudelft.nl/maven</url>
    </repository>

    <repository>
      <name>djunits Public Repository</name>
      <id>djunits</id>
      <url>http://djunits.org/maven</url>
    </repository>

    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>central</id>
      <name>Maven Repository Switchboard</name>
      <url>http://repo1.maven.org/maven2</url>
    </repository>

    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>apache</id>
      <name>apache</name>
      <url>http://repo.maven.apache.org/maven2</url>
    </repository>

    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>boundless</id>
      <name>Boundless Maven Repository</name>
      <url>http://repo.boundlessgeo.com/main</url>
    </repository>

    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>osgeo</id>
      <name>OSGeo Maven Repository</name>
      <url>http://download.osgeo.org/webdav/geotools/</url>
    </repository>

  </repositories>

  <licenses>
    <license>
      <name>BSD-style license</name>
      <url>http://www.opentrafficsim.org/docs/license.html</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <developers>
    <developer>
      <id>averbraeck</id>
      <name>Alexander Verbraeck</name>
      <email>a.verbraeck@tudelft.nl</email>
      <url>http://www.tbm.tudelft.nl/averbraeck</url>
      <organization>Delft University of Technology, the Netherlands</organization>
      <organizationUrl>http://www.simulation.tudelft.nl</organizationUrl>
      <timezone>1</timezone>
      <roles>
        <role>architect</role>
        <role>developer</role>
        <role>maintainance</role>
      </roles>
    </developer>

    <developer>
      <id>hvanlint</id>
      <name>Hans van Lint</name>
      <email>a.verbraeck@tudelft.nl</email>
      <url>http://hansvanlint.weblog.tudelft.nl/</url>
      <organization>Delft University of Technology, the Netherlands</organization>
      <organizationUrl>http://www.citg.tudelft.nl</organizationUrl>
      <timezone>1</timezone>
      <roles>
        <role>architect</role>
        <role>developer</role>
        <role>maintainance</role>
      </roles>
    </developer>

    <developer>
      <id>pknoppers</id>
      <name>Peter Knoppers</name>
      <email>p.knoppers@tudelft.nl</email>
      <url>http://www.citg.tudelft.nl/en/about-faculty/departments/transport-and-planning/staff-information/ir-peter-knoppers/</url>
      <organization>Delft University of Technology, the Netherlands</organization>
      <organizationUrl>http://www.citg.tudelft.nl</organizationUrl>
      <timezone>1</timezone>
      <roles>
        <role>architect</role>
        <role>developer</role>
        <role>maintainance</role>
      </roles>
    </developer>

    <developer>
      <id>gtamminga</id>
      <name>Guus Tamminga</name>
      <email>g.f.tamminga@tudelft.nl</email>
      <url>http://www.citg.tudelft.nl/en/about-faculty/departments/transport-and-planning/staff-information/drs-guus-tamminga-msc/</url>
      <organization>Delft University of Technology, the Netherlands</organization>
      <organizationUrl>http://www.citg.tudelft.nl</organizationUrl>
      <timezone>1</timezone>
      <roles>
        <role>architect</role>
        <role>developer</role>
        <role>maintainance</role>
      </roles>
    </developer>

    <developer>
      <id>wschakel</id>
      <name>Wouter Schakel</name>
      <email>w.schakel@tudelft.nl</email>
      <url>http://www.citg.tudelft.nl/en/about-faculty/departments/transport-and-planning/</url>
      <organization>Delft University of Technology, the Netherlands</organization>
      <organizationUrl>http://www.citg.tudelft.nl</organizationUrl>
      <timezone>1</timezone>
      <roles>
        <role>architect</role>
        <role>developer</role>
        <role>maintainance</role>
      </roles>
    </developer>

  </developers>


  <contributors>
    <contributor>
    </contributor>
  </contributors>

  <!-- Environment Settings -->

  <issueManagement>
    <system>jira</system>
    <url>http://simulation.tudelft.nl:8085/browse/</url>
  </issueManagement>

  <distributionManagement>
    <downloadUrl>http://opentrafficsim.org/maven</downloadUrl>
    <repository>
      <uniqueVersion>false</uniqueVersion>
      <id>ots-deployment</id>
      <name>open traffic sim repository</name>
      <url>scp://opentrafficsim.org/home/web/opentrafficsim.org/maven</url>
      <layout>default</layout>
    </repository>
    <snapshotRepository>
      <uniqueVersion>false</uniqueVersion>
      <id>ots-deployment</id>
      <name>open traffic sim snapshot repository</name>
      <url>scp://opentrafficsim.org/home/web/opentrafficsim.org/maven</url>
      <layout>default</layout>
    </snapshotRepository>
    <site>
      <id>ots-deployment</id>
      <name>open trafffic sim website</name>
      <url>scp://opentrafficsim.org/home/web/opentrafficsim.org/docs/${ots.version}</url>
    </site>
  </distributionManagement>

</project>