Setting up your environment

Before you begin Maven development, you must set up your environment.

About this task

Important: Applicable to Liberty, WebSphere® Application Server traditional

Procedure

  1. Enable Maven repository indexing.
  2. Set up Maven project settings.
    Remember: This applies to WebSphere Application Server Liberty V8.5.5.7 and previous versions only.
  3. Set up the IBM® Maven repository to access IBM provided archetypes and POM files.
  4. Configuring dependency POM files that emulate the classpath of specific WebSphere runtime environments.
  5. Optional: Disable the option to add projects to an enterprise archive (EAR) file.
    The Add project to an EAR preference automatically creates an EAR project when you import certain multi-module Maven projects. If you do not want the EAR project, disable the preference.
    1. Open the Eclipse preferences menu.
    2. Select and expand the Java EE node.
    3. Select the Project section.
    4. Clear the Add project to an EAR check box.
    5. Select Apply and close the Preferences dialog.