2.2.3. Install the JBoss EAP 6 Maven Repository Locally

Summary

The JBoss EAP 6.3 Maven repository is available online, so it is not necessary to download and install it locally. However, if you prefer to install the JBoss EAP Maven repository locally, there are three ways to do it: on your local file system, on Apache Web Server, or with a Maven repository manager. This example covers the steps to download the JBoss EAP 6 Maven Repository to the local file system. This option is easy to configure and allows you to get up and running quickly on your local machine. It can help you become familiar with using Maven for development but is not recommended for team production environments.

Procedure 2.1. Download and Install the JBoss EAP 6 Maven Repository to the Local File System

  1. Find "Red Hat JBoss Enterprise Application Platform 6.3.0 Maven Repository" in the list.
  2. Click the Download button to download a .zip file containing the repository.
  3. Unzip the file on the local file system into a directory of your choosing.
Result

This creates a Maven repository directory called jboss-eap-6.3.0.GA-maven-repository.

Important

If you want to continue to use an older local repository, you must configure it separately in the Maven settings.xml configuration file. Each local repository must be configured within its own <repository> tag.

Important

When downloading a new Maven repository, remove the cached repository/ subdirectory located under the .m2/directory before attempting to use the new Maven repository.