How to compile Dynmap - webbukkit/dynmap GitHub Wiki

Compiling Dynmap is done solely using Maven. Using Mavens mvn install command you can install projects into your Maven repository, so it can be used to compile other projects that depend on it. The basic principal here is to, for each depending project, get the code using git clone and compile the code using mvn install. Gradle, this page is severely out of date. See README.md for better info

The core systems of Dynmap have very little dependencies. The core is used in other implementations for specific frameworks, like Bukkit or Spout. Before you can compile any of the implementations for any of the specific frameworks, you should clone and compile the following projects in this order:

  • DynmapCoreAPI - git://github.com/webbukkit/DynmapCoreAPI.git
  • DynmapCore - git://github.com/webbukkit/DynmapCore.git

Dynmap for Bukkit

Clone and compile the following projects in the following order to compile Dynmap for Bukkit:

  • dynmap-api - git://github.com/webbukkit/dynmap-api.git
  • dynmap - git://github.com/webbukkit/dynmap.git

Or copy the following into your terminal:

git clone git://github.com/webbukkit/DynmapCoreAPI.git && (cd DynmapCoreAPI && mvn install)
git clone git://github.com/webbukkit/DynmapCore.git && (cd DynmapCore && mvn install)
git clone git://github.com/webbukkit/dynmap-api.git && (cd dynmap-api && mvn install)
git clone git://github.com/webbukkit/dynmap.git && (cd dynmap && mvn install)

The zip containing Dynmap's files will be located at dynmap/target/dynmap-*-bin.zip.

Dynmap for Spout-Vanilla

Clone and compile the following projects in the following order to compile Dynmap for Spout's Vanilla server:

  • SpoutAPI - git://github.com/SpoutDev/SpoutAPI.git
  • SpoutVanilla - git://github.com/SpoutDev/Vanilla.git
  • DynmapSpout - git://github.com/webbukkit/DynmapSpout.git

Or copy the following in your terminal:

git clone git://github.com/webbukkit/DynmapCoreAPI.git && (cd DynmapCoreAPI && mvn install)
git clone git://github.com/webbukkit/DynmapCore.git && (cd DynmapCore && mvn install)
git clone git://github.com/SpoutDev/SpoutAPI.git && (cd SpoutAPI && mvn install)
git clone git://github.com/SpoutDev/Vanilla.git && (cd Vanilla && mvn install)
git clone git://github.com/webbukkit/DynmapSpout.git && (cd DynmapSpout && mvn install)

The zip containing Dynmap's files will be located at DynmapSpout/target/DynmapSpout-*-bin.zip.