Overview
This guide provides instructions for building Example Mango Modules for Mango version 5.5.0 and later. The same approach can be used to build custom Mango modules.
To upgrade your existing modules from Mango v4, refer to the commit history for examples of migration changes.
Download IntelliJ IDEA
Download and install IntelliJ IDEA from this page.
Clone Repository
Clone the modules repository using IntelliJ into your workspace directory.
-
Open IntelliJ.
-
Select File → New → Project from Version Control.
-
Enter
git@github.com:RadixIoT/ma-modules-contrib.git
as the repository URL.
Select Java SDK
- Go to File → Project Structure.
- If you don’t have an SDK set up, download one directly in IntelliJ.
- Select SDK → Add SDK → Download JDK...
- In the Download JDK popup, search for Azul Zulu Community 17 and click Download.
Configure Maven settings for IntelliJ IDEA
- Go to Settings → Build, Execution, Deployment → Build Tools → Maven.
- Set the thread count to 1.5 per CPU core (
1.5C
).
- Activate the install-module Maven profile.
- Click Reload All Maven Projects.
- Toggle the Skip Tests option to skip running tests during the build.
- Run install on the parent project to build the modules.
- The module ZIP files will be located in the
maven-target
folder.