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.
- Go to http://maven.apache.org/ and download the latest Maven
zip
(Windows) or Maventgz
(for macOS/Linux). - Unzip/untar the install into a convenient directory, referred to in these instructions as
MAVEN_HOME
. - Either add
MAVEN_HOME/bin
to thePATH
or specify the full path to the Maven executable; runmvn –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.