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

Version 1 Next »

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 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.

Convert an existing project to a Maven Multi Module project 

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

Right-click the project, point to Configure and then click Convert to Maven Project.

 The process will run in the background and once complete, the letter M will be added above the project icon. 

  • No labels