A sample NextGen Connect plugin.
This repository is used in this guide on writing Mirth plugins.
- Install Java
- Install Maven
- Run
git clone https://github.com/kpalang/mirth-sample-plugin
- Navigate to
mirth-sample-plugin/
- Run
./build.sh
to verify the build works - Try to install the sample plugin by getting the
sampleplugin.zip
archive from your project root
Tip
This repository is best used as a template by clicking the green "Use this template" button in the top right corner. Using as a template makes your repository not pick up the changes in the base repo thus avoiding file mismatches.
This repository showcases use of mirth-plugin-maven-plugin-kt to generate plugin.xml
file!
- Any external libraries that you might want to use in the plugin at runtime, go into
libs/runtime/{type}
- Any external libraries that you might want to use at compiletime, go into
libs/compiletime/{type}
Using the maven-jarsigner-plugin
requires you uncomment this section here.
Additionally, you must comment out or remove the Method 2 section in build.sh
When using external signing, leave the section in pom.xml
commented or delete
it and comment out or remove the Method 1 section in build.sh