Time for action – installing Maven

This step will install and use Maven to build a simple Java project to ensure that the tool is configured appropriately. The first time it runs, it will cache many Jars from Central into a folder ${user.home}/.m2/repository; for subsequent runs, it will be much faster.

  1. Go to http://maven.apache.org/ and download the latest Maven zip (Windows) or Maven tgz (for macOS/Linux).
  2. Unzip/untar the install into a convenient directory, referred to in these instructions as MAVEN_HOME.
  3. Either add MAVEN_HOME/bin to the PATH or specify the full path to the Maven executable; run mvn –version, and a version message should be printed out. Maven requires a JDK (not just a JRE), which should be installed by following the instructions ...

Get Eclipse Plug-in Development Beginner's Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.