Importing projects

You can import Maven projects that were developed outside of the development workbench.

About this task

Important: Applicable to Liberty, WebSphere® Application Server traditional

Procedure

  1. Open the import wizard. Select File > Import > Maven > Existing Maven Projects. Click Next.
  2. Browse to the project. Click Browse and go to the Root Directory that contains your projects. If you have a project with multiple modules, select the directory that contains the pom.xml file for the top-level module. The wizard scans all the subdirectories for more projects. After scanning, all projects to be imported are listed. Click Next.
    Modules that are displayed after scanning
  3. Set up Maven plug-in connectors. The Setup Maven plugin connectors page list all the Maven plug-in goals in the projects and the plug-ins that process those goals. If you see only green check marks, all of the necessary plug-ins are installed.
    Setup Maven plug-in connectors

    If you see a red mark, you must either install an additional connector or specify in the POM not to execute that goal. These actions can be specified in the Action column. To choose an action, select a plug-in, then click in the action column until the drop-down arrow is displayed. Click the drop-down arrow to select an action.

    Choose an action

  4. Click Finish. A project is created for each of the Maven projects that you import.
Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: import.html