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
- Open the import wizard. Select . Click Next.
- 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.
- 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.
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.
- Click Finish. A project
is created for each of the Maven projects that you import.