You are viewing an older version of this topic. To go to a different version, use the version menu at the upper-right. +

Writing Extensions in IntelliJ

IntelliJ includes out of the box Maven support therefore it doesn’t require for you to download any extra plugins.

This guide was built using IntelliJ X but earlier or later versions should work as well

Importing the project

  1. After you have generated your project with our Maven archetype, choose File → New Project and select Import project from an external resource


  2. Click Next and choose Maven


  3. Click Next and input the source folder where your project was generated. Leave everything else as default.


  4. Click Next and pick your main artifact 


  5. Click Next


  6. Now, click Finish. Your IDE should start importing your Maven dependencies.

Resolving the schema

Now, you need to instruct your IDE to help it find you newly generated schema so you get all the benefits from auto complete and validation.

  1. Open the namespace handler xml that was generated for you by the archetype. You should see something along the lines of this:


  2. Select Manually Setup External Resource and pick the schema under target/generated-resources/mule.