Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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.

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

Creating a new Maven Multi Module project 

To create a new Maven Multi Module project, follow the steps below:

  1. In WSO2 Developer Studio, click File > New > Project.
  2. In the wizard that appears, expand WSO2 > Maven Project and click Maven Multi Module Project. Click Next.



  3. Alternatively, you can open the Developer Studio Dashboard (click Developer Studio > Open Dashboard) and then click Maven Multi Module Project.
  4. In the Maven Information Settings dialog box, provide Maven information such as group ID, artifact ID (which also becomes your project name), and version, and then select the modules to include in the project by selecting projects from the list. 
  5. Click Finish.

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 

 

Follow the steps below to import a Maven Multi Module project:

 

  1. Right-click 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.

  • No labels