In the plugin documentation, you can see which Ant targets every plugin adds to a release and a module. When a release is checked out, Antmod will automatically register the plugin's build targets to the release and module buildfile. So using a plugin is as simple as:
NOTE: if an Ant target is missing, while you know that it has to be there, you may be working with an old checkout of a release which does not have the build plugin registered yet in the buildfiles. Solve this by changing directory to the release (for example "cd /home/klaas/dev/myrelease-dev") and running "ant update-ant".
Every plugin has a set of documented properties that can be configured to customize
the behavior of the plugin. For example, the JUnit plugin
allows you to specify whether an HTML report is a frames or non-frames version using its
${antmod.junit.report.format} property.
Configuring a plugin is as simple as setting one of the documented plugin properties to the desired value. There are various ways to configure this:
<properties> antmod.junit.report.format=noframes </properties>
# disable frames in JUnit HTML reports antmod.junit.report.format=noframes
If you have downloaded/obtained an Antmod plugin, you can add it to your Antmod installation by following these steps: