Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Developer Studio creates separate projects and a separate Maven pom.xml file for most deployable artifacts. In Maven-centric development, however, you have a parent project and some child modules, including a separate distribution module that is a child module of the parent project. To achieve this model, you can create a Maven Multi Module project in your workspace, create your artifact projects nested within it, and then create the Composite Application project for the distribution module. You can also convert an existing project to

To import a Maven Multi Module project, see Importing a Maven Multi Module Projectproject.

Creating a new Maven Multi Module project 

...

You can now open the pom.xml file to see the selected projects that are listed as Maven modules.

...

Importing a Maven Multi Module project 

To convert an existing project to Follow the steps below to import a Maven Multi Module project, follow the steps below:

  1. Right-click

...

  1. in the Project Explorer in Eclipse and click Import > Import.
  2. In the Import dialog box, expand the WSO2 category, click Existing WSO2 Projects in to workspace, and click Next.
  3. In the Import Projects dialog box, click Browse, select the directory where the Parent project resides on your local file system, and click OK.
  4. The Import Projects dialog box now displays all the WSO2 projects in the Parent project you selected. Select the project(s) you want to import into your workspace and click Finish.

The project(s) are now imported into your workspace, and you can create projects within this hierarchy.