Skip to content

Installing Maven

Richard Domander edited this page Sep 11, 2018 · 1 revision

Maven is a build automation tool. It makes building your project, and managing its dependencies much easier than doing things by hand. For an in-depth guide on how to use Maven in an ImageJ related project see http://imagej.net/Maven.

Installing Maven

Make sure you install Maven 3.x or newer

Linux

Install Maven with your favourite package management tool such as Synaptic or apt-get.

  • In the terminal, type sudo apt-get install maven
  • If the command fails, or apt-get doesn't get Maven 3.x, refer to this post for further help
  • Verify your installation by typing mvn -version

Windows

If you have Chocolatey, installed:

If you don't want to go the Chocolatey route, follow this guide. Note that the guide is a bit dated, so use JDK 1.8 or newer instead.

Mac

Please refer to this guide

Clone this wiki locally