The Marathon plugin interface is needed to compile this package.
To build the package run this command:
sbt clean pack
This will compile and package all plugins.
The resulting jars with all dependencies are put into the directory: target/pack/lib
.
This directory can be used directly as plugin directory for Marathon.
- Run
sbt clean pack
in the repository's root directory. - Locate the Plugin configuration file (look at the Plugin's README.md for a hint)).
- Start Marathon with the following flags:
--plugin_dir target/pack/lib --plugin_conf <path_to_the_plugin_config_file>
Example Authentication and Authorization Plugin (Scala based). See README.md in the auth plugin directory.
Example Authentication and Authorization Plugin (Java based). See README.md in the javaauth directory.
Example Environment Variables Configuration. See README.md in the env plugin directory.
Example validation of runspec for specific labels. See README.md in the label plugin directory.
Example plugin to set the executor Id. See README.md in the executorid plugin directory.