Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Plugin [id: 'org.zaproxy.common.settings'] was not found in any of the following sources:

197 views
Skip to first unread message

Jacob Davison

unread,
Mar 17, 2024, 8:44:56 AM3/17/24
to ZAP Developer Group
I am trying to setup a development environment using intellij by downloading the source code from GitHub. I have followed the setup guide and and imported the project. However when I run "Reload all Gradle projects" I get the following error.

Settings file '/Users/jdavison/Development/Java/zaproxy/buildSrc/settings.gradle.kts' line: 1

Plugin [id: 'org.zaproxy.common.settings'] was not found in any of the following sources:

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Do I need to setup an init.gradle file with the details of the repository from which to download these dependencies?

thc...@gmail.com

unread,
Mar 17, 2024, 9:58:09 AM3/17/24
to zaproxy...@googlegroups.com
Hi,

No, that plugin is available in the Gradle Plugin portal:
https://plugins.gradle.org/plugin/org.zaproxy.common.settings


Best regards.

Jacob Davison

unread,
Mar 18, 2024, 9:22:24 AM3/18/24
to ZAP Developer Group
Hi, Thanks for the reply. I see the plugin in available in the repository. But somehow it is not getting downloaded and my build keeps failing in the IntelliJ. The other modules such as zap-hud, zap-extension etc. are loaded successfully. Only the zaproxy is failing. 
However it passes this hurdle when I add a specific version like

plugins {
`kotlin-dsl`
id("com.diffplug.spotless") version "6.20.0"
id("org.zaproxy.common")
}


I get a different error after this which I am still working. Can you please confirm what specific version should I use the above case? Is this a bug?
Regards
J

Jacob Davison

unread,
Mar 19, 2024, 7:17:02 AM3/19/24
to ZAP Developer Group
Hi, I managed to solve the issue but not sure what exactly the issue was. It may be due to multiple versions of com.diffplug.spotless in the cache.
Now let me continue with the rest of the coding contribution article. Thanks for looking into this.
Regards
J

Jeong Rok Suh

unread,
Aug 26, 2024, 2:32:43 AM8/26/24
to ZAP Developer Group
Could you share how you solved this issue?

psiinon

unread,
Aug 27, 2024, 5:16:04 AM8/27/24
to ZAP Developer Group
Which IDE are you using?
Does ZAP still build ok via the commandline?

Cheers,

Simon

Jeong Rok Suh

unread,
Aug 27, 2024, 11:19:00 AM8/27/24
to ZAP Developer Group
I am using Intellij IDEA Ultimate 2021.3.3.
I also tested it out on the latest Intellij IDEA version of 2024.2.0.2, and it is working fine.
So, I think it was that particular older Intellij IDEA that was causing the issue while running Gradle.

niccolol...@gmail.com

unread,
Sep 5, 2024, 8:48:51 AM9/5/24
to ZAP Developer Group
Hi, it's really a problem of the older versions of IntelliJ, I was using the one from 2022 Community Edition and only after updating to the newest it worked.
Regards!

niccolol...@gmail.com

unread,
Sep 5, 2024, 1:13:13 PM9/5/24
to ZAP Developer Group

Can I ask if you have encountered, or if you know how to solve, issues regarding the Mandatory Add-ons? I have tried downloading the various components multiple times and reloading them on IntelliJ, but I always get that issue at startup. I am importing from the same folders that I execute from the command line (from there, I can execute normally)

Thanks

psiinon

unread,
Sep 6, 2024, 4:14:54 AM9/6/24
to ZAP Developer Group
Have you followed the developer guide?

You should definitely be able to get ZAP building and running from the command line, so start with that.
Then you can follow the IntelliJ guide.

If any of those guides dont work for you then let us know what you did and any error messages reported.

Cheers,

Simon

niccolol...@gmail.com

unread,
Sep 6, 2024, 4:18:45 AM9/6/24
to ZAP Developer Group
Yes, I am able to run it from command line, I have problems running it from IntelliJ. It’s start fine but stops due to mandatory add-on
Regards

Anis Askri

unread,
Sep 6, 2024, 4:26:54 AM9/6/24
to zaproxy...@googlegroups.com
Have you changed the working repository by /zaproxy/zap/src/main/dist ??

--
For commerical ZAP support options see https://www.zaproxy.org/support/
ZAP is supported by the Crash Override Open Source Fellowship https://crashoverride.com/open-source?zap=dev
---
You received this message because you are subscribed to the Google Groups "ZAP Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zaproxy-devel...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/zaproxy-develop/d3179d1a-5c9f-4ea3-bb10-0987f172bb97n%40googlegroups.com.

niccolol...@gmail.com

unread,
Sep 6, 2024, 4:40:01 AM9/6/24
to ZAP Developer Group
The problem was there, thank you for making me notice
Regards!!
Reply all
Reply to author
Forward
0 new messages