You are viewing an older version of this section. Click here to navigate to the latest version.

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

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


Click Next and choose Maven


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


Click Next and pick your main artifact


Click Next


Now, click Finish.

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

Open the namespace handler xml that was generated for you by the archetype.

You should see something along the lines of this:


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


That should be it. Now you’re done.