I need to develop a plugin for OWASP-Zap, but I can not build the project. There is a Quick Set Up for Eclipse but when I try to Team Project Set up then it fails and I have no idea why. Is there anybody here done something like that? I would appreciate if someone can help me.
The quickest way to set up a ZAP development environment is as follows:
1. Ensure you have a recent version of Eclipse - the Eclipse IDE for Java Developers is a good option (Ensure you have a version of Eclipse 4.2 or later installed or if using an earlier version, the "EGit - Git Team Provider" plug-in installed.)
2. Start Eclipse and select a new (empty) workspace
3. Select the menu: "File / Import"
4. Select "Team / Team Project Set" and click "Next >"
5. Select URL and enter: https://raw.githubusercontent.com/zaproxy/zap-admin/master/ZAP-projectSet.psf
6. Click "Finish" and wait for Eclipse to pull down all of the projects and build them.
I see, the psf was removed.
There's also a whole series of Blog posts that you might be interested in:
Edit 2022-05-03: There are updated Developer docs here: https://www.zaproxy.org/docs/developer/ including Creating a New Add-on in zap-extensions
Edit 2022-05-24: There is now an example add-on repo available: https://github.com/zaproxy/addon-java