There is a separate project which provides a Maven plugin on top of the API: http://code.google.com/p/zap-maven-plugin/
Please note that the current zap maven plugin does not work with the most current version (2.4, Aug 2015) of zaproxy client.
Links:
- Back: Ant client tasks
- Home: The ZAP API
- Next: Python client API