Setting up the IBM Maven repository

The IBM® Maven repository provides archetypes and POM files that you can use to develop Maven applications.

About this task

Important: Applicable to Liberty
The IBM Maven repository supports development of Maven applications for the following runtime environments:
  • WebSphere® Application Server Liberty V8.5.5 and V8.5.0.2.
  • WebSphere Portal V8.0.

Procedure

  1. Click Window > Preferences > Java EE > Maven > Maven Repository Initialization.
    If the settings.xml file does not exist, the page displays the following text: The settings.xml file does not exist. To create this file and configure the IBM Maven repository, click Configure. This action configures the IBM Maven repository in the settings.xml file and registers the URL of the archetype catalog.
    Note: If the settings.xml file does not exist, a new file is created. If the settings.xml file does exist, content is updated and not overwritten.
  2. The location of the settings.xml file is determined by the value that is set in the Window > Preferences > Maven > User Settings page. To change the file location, click the User settings file link to go directly to the preference page.
  3. Click OK to exit the preference dialog.
    The Updating indexes job displays in the Progress view.