Skip to content

Install and Configure Maven

sgilda edited this page Jun 16, 2015 · 32 revisions

Install and Configure Maven

Overview

If you plan to build Windup Java-based rule add-ons or contribute to the core source code base, you must first configure Maven.

You should already be configured correctly to build Windup and can skip these instructions if you meet one of the following criteria:

  • You plan to use Maven command line and have already installed Maven 3.1.1 or later.

  • You plan to use Red Hat JBoss Developer Studio (8 or above) or Eclipse Luna (4.4) to build Windup Java-based rule add-ons or source code. These IDEs embed Maven 3.2.1 so you do not need to install it separately.

Download and Install Maven

If plan to use the command line and have not yet installed Maven, or if you plan to use Red Hat JBoss Developer Studio 7.1.1 or an older version of Eclipse, you must download and install Maven 3.1.1. or later.

  1. Go to Apache Maven Project - Download Maven and download the latest distribution for your operating system.

  2. See the Maven documentation for information on how to download and install Apache Maven for your operating system.

Configure the IDE to Use the Updated Maven

If you plan to use JBoss Developer Studio 7.1.1 or an Eclipse version earlier than Eclipse Luna (4.4), follow this procedure to replace the embedded 3.0.4 version of Maven with this newer version.

  1. From the menu, choose Window -→ Preferences.

  2. Expand Maven and click on Installations.

  3. Uncheck Embedded (3.0.4/1.4.0.20130531-2315)

  4. Click Add and navigate to your Maven install directory. Select it and click OK.

  5. Be sure the new external Maven installation is checked and click OK to return to JBoss Developer Studio.

NOTE: If you use another IDE, refer to the product documentation to update the Maven installation.

Clone this wiki locally