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
- Copy m2settings.xml to use as your local maven settings.xml, located in .m2 under your home directory, or include the material from m2settings.xml in your existing ~/.m2/settings.xml
- Navigate to
mirth-sample-plugin/
- Run
mvn install
to install dependencies to local cache - Run
mvn clean package
to verify the build works - Try to install the sample plugin by getting the
.zip
archive frommirth-sample-plugin/distribution/target
Use this repository as a base to develop your own plugins.
This repository showcases use of mirth-plugin-maven-plugin 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}
- More simplifycation