2.2.3. Install the JBoss EAP 6 Maven Repository Locally

Summary

There are three ways to install the repository; 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 the 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. Download the JBoss EAP 6 Maven Repository ZIP archive

  2. Find "Application Platform 6.1.0 Maven Repository" in the list.
  3. Click the Download button to download a .zip file containing the repository.
  4. Unzip the file in the same directory on the local file system into a directory of your choosing.
Result

This creates a Maven repository directory called jboss-eap-6.1.0.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.